PoReaderInterface

Shared interface definition for all Gettext PO Readers. Hierarchy interface \Drupal\Component\Gettext\PoMetadataInterfaceinterface \Drupal\Component\Gettext\PoReaderInterface File core/lib/Drupal/Component/Gettext/PoReaderInterface.php, line 8 Namespace Drupal\Component\Gettext Members Name Modifiers Type Description PoMetadataInterface::getHeader public function Get header metadata. PoMetadataInterface::getLangcode public function Get language code. PoMetadat

PathProcessorLanguage::__construct

public PathProcessorLanguage::__construct(ConfigFactoryInterface $config, ConfigurableLanguageManagerInterface $language_manager, LanguageNegotiatorInterface $negotiator, AccountInterface $current_user, ConfigSubscriber $config_subscriber) Constructs a PathProcessorLanguage object. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config: A config factory object for retrieving configuration settings. \Drupal\language\ConfigurableLanguageManagerInterface $language_manager: The configurable

Node::preDelete

public static Node::preDelete(EntityStorageInterface $storage, array $entities) Acts on entities before they are deleted and before hooks are invoked. Used before the entities are deleted and before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides Entity::preDelete File core/modules/node/src/Entity/Node.php, line 151 Class Node Defines the no

SelectExtender::nextPlaceholder

public SelectExtender::nextPlaceholder() Returns the next placeholder ID for the query. Return value The next available placeholder ID as an integer. Overrides PlaceholderInterface::nextPlaceholder File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 52 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function nextPlaceholder() { return $this->placeholder++; }

RouteProcessorCurrent::__construct

public RouteProcessorCurrent::__construct(RouteMatchInterface $route_match) Constructs a new RouteProcessorCurrent. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. File core/lib/Drupal/Core/RouteProcessor/RouteProcessorCurrent.php, line 27 Class RouteProcessorCurrent Provides a route processor to replace <current>. Namespace Drupal\Core\RouteProcessor Code public function __construct(RouteMatchInterface $route_match) { $this->route

language_modules_uninstalled

language_modules_uninstalled($modules) Implements hook_modules_uninstalled(). File core/modules/language/language.module, line 341 Add language handling functionality to Drupal. Code function language_modules_uninstalled($modules) { language_modules_installed($modules); }

feed-icon.html.twig

Default theme implementation for a feed icon. Available variables: url: An internal system path or a fully qualified external URL of the feed. attributes: Remaining HTML attributes for the feed link. title: A descriptive title of the feed link. class: HTML classes to be applied to the feed link. File core/modules/system/templates/feed-icon.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

VariantBase::calculateDependencies

public VariantBase::calculateDependencies() Calculates dependencies for the configured plugin. Dependencies are saved in the plugin's configuration entity and are used to determine configuration synchronization order. For example, if the plugin integrates with specific user roles, this method should return an array of dependencies listing the specified roles. Return value array An array of dependencies grouped by type (config, content, module, theme). For example: array( 'config' => a

ModerationInformationInterface::isLiveRevision

public ModerationInformationInterface::isLiveRevision(ContentEntityInterface $entity) Determines if an entity is "live". A "live" entity revision is one whose latest revision is also the default, and whose moderation state, if any, is a published state. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: The entity to check. Return value bool TRUE if the specified entity is a live revision, FALSE otherwise. File core/modules/content_moderation/src/ModerationInformationInterface.php

RevisionLogInterface::setRevisionLogMessage

public RevisionLogInterface::setRevisionLogMessage($revision_log_message) Sets the entity revision log message. Parameters string $revision_log_message: The revision log message. Return value $this File core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 82 Class RevisionLogInterface Defines methods for an entity that supports revision logging and ownership. Namespace Drupal\Core\Entity Code public function setRevisionLogMessage($revision_log_message);