LocaleTranslation::$storage

Storage for strings. Type: \Drupal\locale\StringStorageInterface File core/modules/locale/src/LocaleTranslation.php, line 27 Class LocaleTranslation String translator using the locale module. Namespace Drupal\locale Code protected $storage;

LinkManager::$typeLinkManager

The type link manager. Type: \Drupal\rest\LinkManager\TypeLinkManagerInterface File core/modules/rest/src/LinkManager/LinkManager.php, line 12 Class LinkManager Namespace Drupal\rest\LinkManager Code protected $typeLinkManager;

LocalActionInterface::getRouteName

public LocalActionInterface::getRouteName() Get the route name from the settings. Return value string The name of the route this action links to. File core/lib/Drupal/Core/Menu/LocalActionInterface.php, line 18 Class LocalActionInterface Defines an interface for menu local actions. Namespace Drupal\Core\Menu Code public function getRouteName();

EntityType::getGroupLabel

public EntityType::getGroupLabel() Gets the human-readable name of the entity type group. Return value string Overrides EntityTypeInterface::getGroupLabel File core/lib/Drupal/Core/Entity/EntityType.php, line 801 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getGroupLabel() { return !empty($this->group_label) ? $this->group_label : $this->t('Other', array(), array('context' => 'Entity typ

ViewUI::postLoad

public static ViewUI::postLoad(EntityStorageInterface $storage, array &$entities) Acts on loaded entities. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides EntityInterface::postLoad File core/modules/views_ui/src/ViewUI.php, line 1129 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public static function postLoad(EntityStorage

ConfigImporter::logError

public ConfigImporter::logError($message) Logs an error message. Parameters string $message: The message to log. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 206 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code public function logError($message) { $this->errors[] = $message; }

FileCacheBackendInterface

Defines an interface inspired by APCu for FileCache backends. Hierarchy interface \Drupal\Component\FileCache\FileCacheBackendInterface File core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php, line 8 Namespace Drupal\Component\FileCache Members Name Modifiers Type Description FileCacheBackendInterface::delete public function Deletes data from a cache backend. FileCacheBackendInterface::fetch public function Fetches data from the cache backend. Fi

TranslatableInterface::isTranslatable

public TranslatableInterface::isTranslatable() Returns the translation support status. Return value bool TRUE if the object has translation support enabled. File core/lib/Drupal/Core/TypedData/TranslatableInterface.php, line 114 Class TranslatableInterface Interface for translatable data. Namespace Drupal\Core\TypedData Code public function isTranslatable();

ActiveTheme::__construct

public ActiveTheme::__construct(array $values) Constructs an ActiveTheme object. Parameters array $values: The properties of the object, keyed by the names. File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 91 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function __construct(array $values) { $values += [ 'path' => '', 'engine' => 'twig', 'owner' => 'twig', 'stylesheets_remove' => [],

book_entity_type_build

book_entity_type_build(array &$entity_types) Implements hook_entity_type_build(). File core/modules/book/book.module, line 80 Allows users to create and organize related content in an outline. Code function book_entity_type_build(array &$entity_types) { /** @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */ $entity_types['node'] ->setFormClass('book_outline', 'Drupal\book\Form\BookOutlineForm') ->setLinkTemplate('book-outline-form', '/node/{node}/outline')