NodeTranslationHandler::entityFormTitle

protected NodeTranslationHandler::entityFormTitle(EntityInterface $entity) Returns the title to be used for the entity form page. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity whose form is being altered. Return value string|null The label of the entity, or NULL if there is no label defined. Overrides ContentTranslationHandler::entityFormTitle File core/modules/node/src/NodeTranslationHandler.php, line 64 Class NodeTranslationHandler Defines the translation handler f

SafeMarkup::checkPlain

public static SafeMarkup::checkPlain($text) Encodes special characters in a plain-text string for display as HTML. Also validates strings as UTF-8. All processed strings are also automatically flagged as safe markup strings for rendering. Parameters string $text: The text to be checked or processed. Return value \Drupal\Component\Render\HtmlEscapedText An HtmlEscapedText object that escapes when rendered to string. Deprecated Will be removed before Drupal 9.0.0. Rely on Twig's auto-escaping

ProxyBuilder::buildProxyClassName

public static ProxyBuilder::buildProxyClassName($class_name) Generates the used proxy class name from a given class name. Parameters string $class_name: The class name of the actual service. Return value string The class name of the proxy. File core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php, line 19 Class ProxyBuilder Generates the string representation of the proxy service. Namespace Drupal\Component\ProxyBuilder Code public static function buildProxyClassName($class_name)

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;

VariantBase::id

public VariantBase::id() Returns the unique ID for the display variant. Return value string The display variant ID. Overrides VariantInterface::id File core/lib/Drupal/Core/Display/VariantBase.php, line 50 Class VariantBase Provides a base class for DisplayVariant plugins. Namespace Drupal\Core\Display Code public function id() { return $this->configuration['uuid']; }

PublicStream::getName

public PublicStream::getName() Returns the name of the stream wrapper for use in the UI. Return value string The stream wrapper name. Overrides StreamWrapperInterface::getName File core/lib/Drupal/Core/StreamWrapper/PublicStream.php, line 28 Class PublicStream Defines a Drupal public (public://) stream wrapper class. Namespace Drupal\Core\StreamWrapper Code public function getName() { return t('Public files'); }

KeyValueDatabaseExpirableFactory::$storages

Holds references to each instantiation so they can be terminated. Type: \Drupal\Core\KeyValueStore\DatabaseStorageExpirable[] File core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php, line 18 Class KeyValueDatabaseExpirableFactory Defines the key/value store factory for the database backend. Namespace Drupal\Core\KeyValueStore Code protected $storages = array();

MaintenanceModeSubscriber::$bareHtmlPageRenderer

The bare HTML page renderer. Type: \Drupal\Core\Render\BareHtmlPageRendererInterface File core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php, line 59 Class MaintenanceModeSubscriber Maintenance mode subscriber for controller requests. Namespace Drupal\Core\EventSubscriber Code protected $bareHtmlPageRenderer;

ViewUI::addCacheTags

public ViewUI::addCacheTags(array $cache_tags) Adds cache tags. Parameters string[] $cache_tags: The cache tags to be added. Return value $this Overrides RefinableCacheableDependencyInterface::addCacheTags File core/modules/views_ui/src/ViewUI.php, line 1347 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function addCacheTags(array $cache_tags) { return $this->storage->addCacheTags($cache_tags); }

Entity::getOriginalId

public Entity::getOriginalId() Gets the original ID. Return value int|string|null The original ID, or NULL if no ID was set or for entity types that do not support renames. Overrides EntityInterface::getOriginalId File core/lib/Drupal/Core/Entity/Entity.php, line 565 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code public function getOriginalId() { // By default, entities do not support renames and do not have original IDs. return NULL; }