Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
TopBarItemManagerTest::testDefinitions function core/modules/navigation/tests/src/Unit/TopBarItemManagerTest.php Tests definitions.
TopBarItemManagerTest::testGetDefinitionsByRegion function core/modules/navigation/tests/src/Unit/TopBarItemManagerTest.php Tests get definitions by region.
TopBarItemPluginInterface interface core/modules/navigation/src/TopBarItemPluginInterface.php Interface for top bar plugins.
TopBarItemPluginInterface.php file core/modules/navigation/src/TopBarItemPluginInterface.php
TopBarItemPluginInterface::build function core/modules/navigation/src/TopBarItemPluginInterface.php Builds and returns the renderable array for this top bar item plugin.
TopBarItemPluginInterface::label function core/modules/navigation/src/TopBarItemPluginInterface.php Returns the translated plugin label.
TopBarItemPluginInterface::region function core/modules/navigation/src/TopBarItemPluginInterface.php Returns the plugin region.
TopBarItemPluginInterface::weight function core/modules/navigation/src/TopBarItemPluginInterface.php Returns the plugin weight.
TopBarItemZero class core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemZero.php Provides a top bar item plugin for testing the top bar item weight.
TopBarItemZero.php file core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemZero.php
TopBarItemZero::build function core/modules/navigation/tests/navigation_test/src/Plugin/TopBarItem/TopBarItemZero.php Builds and returns the renderable array for this top bar item plugin.
TopBarRegion.php file core/modules/navigation/src/TopBarRegion.php
TopLevelDataInterface interface core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php Interface for objects that can appear as top-level object data.
TopLevelDataInterface.php file core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php
TopLevelDataInterface::getData function core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php Returns the data for the top-level data member of a JSON:API document.
TopLevelDataInterface::getMergedLinks function core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php Merges the object's links with the top-level links.
TopLevelDataInterface::getMergedMeta function core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php Merges the object's meta member with the top-level meta member.
TopLevelDataInterface::getOmissions function core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php Returns the data that was omitted from the JSON:API document.
top_bar.css file core/themes/admin/migration/css/layout/top_bar.css /* cspell:ignore xxxs */
:root {
--drupal-displace-offset-top: 64px;
--admin-toolbar-top-bar-height: 64px;
}

:is(#extra-specificity-hack, [data-drupal-admin-styles]).gin--navigation-top-bar {
height: auto;
min-height: 64px;
opacity: 0.95;
ToStringTrait trait core/lib/Drupal/Component/Utility/ToStringTrait.php Wraps __toString in a trait to avoid some fatal errors.
ToStringTrait.php file core/lib/Drupal/Component/Utility/ToStringTrait.php
ToStringTrait::render function core/lib/Drupal/Component/Utility/ToStringTrait.php Renders the object as a string.
ToStringTrait::_die function core/lib/Drupal/Component/Utility/ToStringTrait.php For test purposes, wrap die() in an overridable method.
ToStringTrait::__toString function core/lib/Drupal/Component/Utility/ToStringTrait.php Implements the magic __toString() method.
Transaction::commitOrRelease function core/lib/Drupal/Core/Database/Transaction.php Returns the transaction to the parent nesting level.
TransactionOutOfOrderException class core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php Exception thrown transactions are out of order.
TransactionOutOfOrderException.php file core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php
Transition::$toStateId property core/modules/workflows/src/Transition.php The transition's to state ID.
Transition::to function core/modules/workflows/src/Transition.php Gets the transition's to state.
TransitionInterface::DIRECTION_TO constant core/modules/workflows/src/TransitionInterface.php The transition direction to.
TransitionInterface::to function core/modules/workflows/src/TransitionInterface.php Gets the transition's to state.
TransitionTest::testFromAndTo function core/modules/workflows/tests/src/Unit/TransitionTest.php Tests from and to.
TranslatableMarkup::getOption function core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php Gets a specific option from this translated string.
TranslatableMarkup::getOptions function core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php Gets all options from this translated string.
TranslatableMarkupTest::testToString function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php Tests that errors are correctly handled when a __toString() fails.
TranslatableRevisionableStorageInterface interface core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php A storage that supports translatable and revisionable entity types.
TranslatableRevisionableStorageInterface.php file core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php
TranslatableRevisionableStorageInterface::createRevision function core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php Creates a new revision starting off from the specified entity object.
TranslatableRevisionableStorageInterface::getLatestTranslationAffectedRevisionId function core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php Returns the latest revision affecting the specified translation.
TranslatableStorageInterface interface core/lib/Drupal/Core/Entity/TranslatableStorageInterface.php A storage that supports translatable entity types.
TranslatableStorageInterface.php file core/lib/Drupal/Core/Entity/TranslatableStorageInterface.php
TranslatableStorageInterface::createTranslation function core/lib/Drupal/Core/Entity/TranslatableStorageInterface.php Constructs a new entity translation object, without permanently saving it.
TranslatableStringFactory class core/modules/package_manager/src/TranslatableStringFactory.php Creates translatable strings that can interoperate with Composer Stager.
TranslatableStringFactory.php file core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::createDomainOptions function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::createTranslatableMessage function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::createTranslationParameters function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::__construct function core/modules/package_manager/src/TranslatableStringFactory.php
TranslateFormBase::$localeStorage property core/modules/locale/src/Form/TranslateFormBase.php The locale storage.
TranslationLinkTest::getTranslatorPermissions function core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Returns an array of permissions needed for the translator.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.