ProfileTranslationHandler

Defines the translation handler for users. Hierarchy class \Drupal\content_translation\ContentTranslationHandler implements ContentTranslationHandlerInterface, EntityHandlerInterface uses DependencySerializationTraitclass \Drupal\user\ProfileTranslationHandler File core/modules/user/src/ProfileTranslationHandler.php, line 12 Namespace Drupal\user Members Name Modifiers Type Description ContentTranslationHandler::$currentUser protected property The current user. Conten

locale_translate_batch_import_files

locale_translate_batch_import_files(array $options, $force = FALSE) Prepare a batch to import all translations. @todo Integrate with update status to identify projects needed and integrate l10n_update functionality to feed in translation files alike. See https://www.drupal.org/node/1191488. Parameters array $options: An array with options that can have the following elements: 'langcode': The language code. Optional, defaults to NULL, which means that the language will be detected from the nam

TaxonomyController::termTitle

public TaxonomyController::termTitle(TermInterface $taxonomy_term) Route title callback. Parameters \Drupal\taxonomy\TermInterface $taxonomy_term: The taxonomy term. Return value array The term label as a render array. File core/modules/taxonomy/src/Controller/TaxonomyController.php, line 51 Class TaxonomyController Provides route responses for taxonomy.module. Namespace Drupal\taxonomy\Controller Code public function termTitle(TermInterface $taxonomy_term) { return ['#markup' =>

SwitchShortcutSet::buildForm

public SwitchShortcutSet::buildForm(array $form, FormStateInterface $form_state, UserInterface $user = NULL) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/shortcut/src/Form/SwitchShortcutSet.php, line 60 Class SwitchShortcutSet Builds the shortcut set switch form.

GeneratedLink

Used to return generated links, along with associated cacheability metadata. Note: not to be confused with \Drupal\Core\Link, which is for passing around ungenerated links (typically link text + route name + route parameters). Hierarchy class \Drupal\Core\Cache\CacheableMetadata implements RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTraitclass \Drupal\Core\Render\BubbleableMetadata implements AttachmentsInterface uses AttachmentsTraitclass \Drupal\Core\GeneratedLink i

SearchController::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/search/src/Controller/SearchController.php, line 37 Class SearchController Route controller for search. Namespace Drupal\search\Controller Code protected $renderer;

RdfMappingInterface

Provides an interface defining an RDF mapping entity. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\rdf\RdfMappingInterface File core/modules/rdf/src/RdfMappingInterface.php, line 10 Namespace Drupal\rdf Members Name Modifiers Type Description AccessibleInterface::access public function Checks data value access. Cachea

LanguageConfigFactoryOverrideInterface::setLanguage

public LanguageConfigFactoryOverrideInterface::setLanguage(LanguageInterface $language = NULL) Sets the language to be used in configuration overrides. Parameters \Drupal\Core\Language\LanguageInterface $language: The language object used to override configuration data. Return value $this File core/modules/language/src/Config/LanguageConfigFactoryOverrideInterface.php, line 30 Class LanguageConfigFactoryOverrideInterface Defines the interface for a configuration factory language override

EntityTypeRepositoryInterface

Provides an interface for helper methods for loading entity types. Hierarchy interface \Drupal\Core\Entity\EntityTypeRepositoryInterface File core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php, line 8 Namespace Drupal\Core\Entity Members Name Modifiers Type Description EntityTypeRepositoryInterface::clearCachedDefinitions Deprecated public function Clear the static cache. EntityTypeRepositoryInterface::getEntityTypeFromClass public function Gets the en

BookManager::bookTreeAllData

public BookManager::bookTreeAllData($bid, $link = NULL, $max_depth = NULL) Gets the data structure representing a named menu tree. Since this can be the full tree including hidden items, the data returned may be used for generating an an admin interface or a select. Note: based on menu_tree_all_data(). Parameters int $bid: The Book ID to find links for. array|null $link: (optional) A fully loaded menu link, or NULL. If a link is supplied, only the path to root will be included in the returned