ContentTranslationMetadataWrapper::$translation

The wrapped entity translation. Type: \Drupal\Core\Entity\EntityInterface|\Drupal\Core\Entity\FieldableEntityInterface|\Drupal\Core\TypedData\TranslatableInterface File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 18 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code protected $translation;

BlockListController::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/block/src/Controller/BlockListController.php, line 21 Class BlockListController Defines a controller to list blocks. Namespace Drupal\block\Controller Code protected $themeHandler;

AdminContext

Provides a helper class to determine whether the route is an admin one. Hierarchy class \Drupal\Core\Routing\AdminContext File core/lib/Drupal/Core/Routing/AdminContext.php, line 10 Namespace Drupal\Core\Routing Members Name Modifiers Type Description AdminContext::$routeMatch protected property The route match. AdminContext::isAdminRoute public function Determines whether the active route is an admin one. AdminContext::__construct public function Constru

ConfigEntityStorage::loadMultipleOverrideFree

public ConfigEntityStorage::loadMultipleOverrideFree(array $ids = NULL) Loads one or more entities in their original form without overrides. Parameters $ids: An array of entity IDs, or NULL to load all entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entity objects indexed by their IDs. Returns an empty array if no matching entities are found. Overrides ConfigEntityStorageInterface::loadMultipleOverrideFree File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.ph

EntityViewBuilderInterface::viewFieldItem

public EntityViewBuilderInterface::viewFieldItem(FieldItemInterface $item, $display_options = array()) Builds a renderable array for a single field item. Parameters \Drupal\Core\Field\FieldItemInterface $item: FieldItem to be displayed. string|array $display_options: Can be either the name of a view mode, or an array of display settings. See EntityViewBuilderInterface::viewField() for more information. Return value array A renderable array for the field item. See also \Drupal\Core\Entity\Ent

PoMemoryWriter::setLangcode

PoMemoryWriter::setLangcode($langcode) Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode(). Not implemented. Not relevant for the MemoryWriter. Overrides PoMetadataInterface::setLangcode File core/lib/Drupal/Component/Gettext/PoMemoryWriter.php, line 60 Class PoMemoryWriter Defines a Gettext PO memory writer, to be used by the installer. Namespace Drupal\Component\Gettext Code function setLangcode($langcode) { }

DbDumpApplication::getDefaultCommands

protected DbDumpApplication::getDefaultCommands() Gets the default commands that should always be available. Return value Command[] An array of default Command instances Overrides Application::getDefaultCommands File core/lib/Drupal/Core/Command/DbDumpApplication.php, line 23 Class DbDumpApplication Provides a command to dump a database generation script. Namespace Drupal\Core\Command Code protected function getDefaultCommands() { // Even though this is a single command, keep the He

EntityDisplayFormBase::getOverviewUrl

abstract protected EntityDisplayFormBase::getOverviewUrl($mode) Returns the Url object for a specific entity (form) display edit form. Parameters string $mode: The form or view mode. Return value \Drupal\Core\Url A Url object for the overview route. File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 905 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code abstract protected function getOverviewUrl($mode);

ConfigEntityInterface::setStatus

public ConfigEntityInterface::setStatus($status) Sets the status of the configuration entity. Parameters bool $status: The status of the configuration entity. Return value $this File core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php, line 37 Class ConfigEntityInterface Defines a common interface for configuration entities. Namespace Drupal\Core\Config\Entity Code public function setStatus($status);

ContentTranslationMetadataWrapper::getSource

public ContentTranslationMetadataWrapper::getSource() Retrieves the source language for this translation. Return value string The source language code. Overrides ContentTranslationMetadataWrapperInterface::getSource File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 43 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code public function getSource() { return $this->