Container::addScope

public Container::addScope(ScopeInterface $scope) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 616 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function addScope(ScopeInterface $scope) { $name = $scope->getName(); if ('request' !== $name) { @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);

CommentStorageInterface::getChildCids

public CommentStorageInterface::getChildCids(array $comments) Gets the comment ids of the passed comment entities' children. Parameters \Drupal\comment\CommentInterface[] $comments: An array of comment entities keyed by their ids. Return value array The entity ids of the passed comment entities' children as an array. File core/modules/comment/src/CommentStorageInterface.php, line 81 Class CommentStorageInterface Defines an interface for comment entity storage classes. Namespace Drupal

ActiveLinkResponseFilter

Subscribes to filter HTML responses, to set the 'is-active' class on links. Only for anonymous users; for authenticated users, the active-link asset library is loaded. Hierarchy class \Drupal\Core\EventSubscriber\ActiveLinkResponseFilter implements EventSubscriberInterface See also system_page_attachments() File core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php, line 23 Namespace Drupal\Core\EventSubscriber Members Name Modifiers Type Description ActiveLinkRes

ModerationStateListBuilder::buildHeader

public ModerationStateListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides DraggableListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/content_moderation/src/ModerationStateListBuilder.php, line 23 Class ModerationStateListBuilder Provides a listing of Moderation state entities. Namespace Drupal\content_moderation Code public function buildHead

ContentEntityBase::setRevisionTranslationAffected

public ContentEntityBase::setRevisionTranslationAffected($affected) Marks the current revision translation as affected. Parameters bool|null $affected: The flag value. A NULL value can be specified to reset the current value and make sure a new value will be computed by the system. Return value $this Overrides ContentEntityInterface::setRevisionTranslationAffected File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 313 Class ContentEntityBase Implements Entity Field API specific

ViewUI::label

public ViewUI::label() Gets the label of the entity. Return value string|null The label of the entity, or NULL if there is no label defined. Overrides EntityInterface::label File core/modules/views_ui/src/ViewUI.php, line 1020 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function label() { return $this->storage->label(); }

FileTransferException::__construct

FileTransferException::__construct($message, $code = 0, $arguments = array()) Constructs a FileTransferException object. Parameters string $message: Exception message. int $code: Exception code. array $arguments: Arguments to be used in this exception. File core/lib/Drupal/Core/FileTransfer/FileTransferException.php, line 27 Class FileTransferException FileTransferException class. Namespace Drupal\Core\FileTransfer Code function __construct($message, $code = 0, $arguments = array()) {

ContentLanguageSettings::isDefaultConfiguration

public ContentLanguageSettings::isDefaultConfiguration() Checks if this config object contains the default values in every property. Return value bool True if all the properties contain the default values. False otherwise. Overrides ContentLanguageSettingsInterface::isDefaultConfiguration File core/modules/language/src/Entity/ContentLanguageSettings.php, line 161 Class ContentLanguageSettings Defines the ContentLanguageSettings entity. Namespace Drupal\language\Entity Code public func

TranslatableInterface

Interface for translatable data. Hierarchy interface \Drupal\Core\TypedData\TranslatableInterface File core/lib/Drupal/Core/TypedData/TranslatableInterface.php, line 8 Namespace Drupal\Core\TypedData Members Name Modifiers Type Description TranslatableInterface::addTranslation public function Adds a new translation to the translatable object. TranslatableInterface::getTranslation public function Gets a translation of the data. TranslatableInterface::getTranslat

DateFormatListBuilder::__construct

public DateFormatListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, DateFormatterInterface $date_formatter) Constructs a new DateFormatListBuilder object. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class. \Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service. Overrides EntityListBuilder::__construct