UrlGeneratorTrait::setUrlGenerator

public UrlGeneratorTrait::setUrlGenerator(UrlGeneratorInterface $generator) Sets the URL generator service. Parameters \Drupal\Core\Routing\UrlGeneratorInterface $generator: The url generator service. Return value $this File core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php, line 88 Class UrlGeneratorTrait Wrapper methods for the Url Generator. Namespace Drupal\Core\Routing Code public function setUrlGenerator(UrlGeneratorInterface $generator) { $this->urlGenerator = $generator

ModuleHandler::writeCache

public ModuleHandler::writeCache() Write the hook implementation info to the cache. Overrides ModuleHandlerInterface::writeCache File core/lib/Drupal/Core/Extension/ModuleHandler.php, line 334 Class ModuleHandler Class that manages modules in a Drupal installation. Namespace Drupal\Core\Extension Code public function writeCache() { if ($this->cacheNeedsWriting) { $this->cacheBackend->set('module_implements', $this->implementations); $this->cacheNeedsWriting = F

MaintenanceModeSubscriber::$maintenanceMode

The maintenance mode. Type: \Drupal\Core\Site\MaintenanceModeInterface File core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php, line 31 Class MaintenanceModeSubscriber Maintenance mode subscriber for controller requests. Namespace Drupal\Core\EventSubscriber Code protected $maintenanceMode;

ConfigMapperInterface::getConfigData

public ConfigMapperInterface::getConfigData() Returns an array with all configuration data. Return value array Configuration data keyed by configuration names. File core/modules/config_translation/src/ConfigMapperInterface.php, line 194 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function getConfigData();

CommentType::getTargetEntityTypeId

public CommentType::getTargetEntityTypeId() Gets the target entity type id for this comment type. Return value string The target entity type id. Overrides CommentTypeInterface::getTargetEntityTypeId File core/modules/comment/src/Entity/CommentType.php, line 92 Class CommentType Defines the comment type entity. Namespace Drupal\comment\Entity Code public function getTargetEntityTypeId() { return $this->target_entity_type_id; }

TranslateFormBase::$filterValues

File core/modules/locale/src/Form/TranslateFormBase.php, line 44 Class TranslateFormBase Defines the locale user interface translation form base. Namespace Drupal\locale\Form Code protected static $filterValues;

content_moderation_local_tasks_alter

content_moderation_local_tasks_alter(&$local_tasks) Implements hook_local_tasks_alter(). File core/modules/content_moderation/content_moderation.module, line 114 Contains content_moderation.module. Code function content_moderation_local_tasks_alter(&$local_tasks) { $content_entity_type_ids = array_keys(array_filter(\Drupal::entityTypeManager()->getDefinitions(), function(EntityTypeInterface $entity_type) { return $entity_type->isRevisionable(); })); foreach ($content_

EntityFieldManager::$keyValueFactory

The key-value factory. Type: \Drupal\Core\KeyValueStore\KeyValueFactoryInterface File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 96 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $keyValueFactory;

StorageReplaceDataWrapper::delete

public StorageReplaceDataWrapper::delete($name) Deletes a configuration object from the storage. Parameters string $name: The name of a configuration object to delete. Return value bool TRUE on success, FALSE otherwise. Overrides StorageInterface::delete File core/modules/config/src/StorageReplaceDataWrapper.php, line 93 Class StorageReplaceDataWrapper Wraps a configuration storage to allow replacing specific configuration data. Namespace Drupal\config Code public function delete($na

Condition

Implements entity query conditions for PostgreSQL databases. Hierarchy class \Drupal\Core\Entity\Query\ConditionFundamentalsclass \Drupal\Core\Entity\Query\ConditionBase implements ConditionInterfaceclass \Drupal\Core\Entity\Query\Sql\Conditionclass \Drupal\Core\Entity\Query\Sql\pgsql\Condition File core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php, line 11 Namespace Drupal\Core\Entity\Query\Sql\pgsql Members Name Modifiers Type Description Condition::$query prote