ConfigTranslationEntityListBuilder::setMapperDefinition

public ConfigTranslationEntityListBuilder::setMapperDefinition($mapper_definition) Sets the config translation mapper definition. Parameters mixed $mapper_definition: The plugin definition of the config translation mapper. Return value $this Overrides ConfigTranslationEntityListBuilderInterface::setMapperDefinition File core/modules/config_translation/src/Controller/ConfigTranslationEntityListBuilder.php, line 129 Class ConfigTranslationEntityListBuilder Defines the configuration transla

Module::postUpdateTasks

public Module::postUpdateTasks() Returns an array of links to pages that should be visited post operation. Return value array Links which provide actions to take after the update is finished. Overrides Updater::postUpdateTasks File core/lib/Drupal/Core/Updater/Module.php, line 137 Class Module Defines a class for updating modules using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php. Namespace Drupal\Core\Updater Code public function postUpdateTasks() { // We don't w

LocaleLookup::getCid

protected LocaleLookup::getCid() Gets the cache ID. Return value string Overrides CacheCollector::getCid File core/modules/locale/src/LocaleLookup.php, line 109 Class LocaleLookup A cache collector to allow for dynamic building of the locale cache. Namespace Drupal\locale Code protected function getCid() { if (!isset($this->cid)) { // Add the current user's role IDs to the cache key, this ensures that, // for example, strings for admin menu items and settings forms are no

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

EntityTypeModerationRouteProvider::getModerationFormRoute

protected EntityTypeModerationRouteProvider::getModerationFormRoute(EntityTypeInterface $entity_type) Gets the moderation-form route. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type. Return value \Symfony\Component\Routing\Route|null The generated route, if available. File core/modules/content_moderation/src/Routing/EntityTypeModerationRouteProvider.php, line 38 Class EntityTypeModerationRouteProvider Provides the moderation configuration routes for confi

FieldStorageConfigListBuilder::buildRow

public FieldStorageConfigListBuilder::buildRow(EntityInterface $field_storage) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides EntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/field_ui/src/FieldStorageConfigListBuilder.php, line 96 Class FieldStorageConfigListBu

PublicStream::getType

public static PublicStream::getType() Returns the type of stream wrapper. Return value int Overrides LocalStream::getType File core/lib/Drupal/Core/StreamWrapper/PublicStream.php, line 21 Class PublicStream Defines a Drupal public (public://) stream wrapper class. Namespace Drupal\Core\StreamWrapper Code public static function getType() { return StreamWrapperInterface::LOCAL_NORMAL; }

BaseFieldDefinition::getProvider

public BaseFieldDefinition::getProvider() Returns the name of the provider of this field. Return value string The provider name; e.g., the module name. Overrides FieldStorageDefinitionInterface::getProvider File core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 195 Class BaseFieldDefinition A class for defining entity fields. Namespace Drupal\Core\Field Code public function getProvider() { return isset($this->definition['provider']) ? $this->definition['provider'] : NUL

RouteProvider::preLoadRoutes

public RouteProvider::preLoadRoutes($names) Pre-load routes by their names using the provided list of names. This method exists in order to allow performance optimizations. It allows pre-loading serialized routes that may latter be retrieved using ::getRoutesByName() Parameters string[] $names: Array of route names to load. Overrides PreloadableRouteProviderInterface::preLoadRoutes File core/lib/Drupal/Core/Routing/RouteProvider.php, line 196 Class RouteProvider A Route Provider front-end

EntityDisplayRepository::getFormModes

public EntityDisplayRepository::getFormModes($entity_type_id) Gets the entity form mode info for a specific entity type. Parameters string $entity_type_id: The entity type whose form mode info should be returned. Return value array The form mode info for a specific entity type. Overrides EntityDisplayRepositoryInterface::getFormModes File core/lib/Drupal/Core/Entity/EntityDisplayRepository.php, line 91 Class EntityDisplayRepository Provides a repository for entity display objects (view m