locale.bulk.inc

Mass import-export and batch import functionality for Gettext .po files. File core/modules/locale/locale.bulk.inc Functions Name Description locale_config_batch_build Creates a locale batch to refresh specific configuration. locale_config_batch_finished Implements callback_batch_finished(). locale_config_batch_refresh_name Implements callback_batch_operation(). locale_config_batch_update_components Builds a locale batch to refresh configuration. locale_translate_batch_bu

Item

Provides a display-only form element with an optional title and description. Note: since this is a read-only field, setting the #required property will do nothing except theme the form element to look as if it were actually required (i.e. by placing a red star next to the #title). Plugin annotation @FormElement("item") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerial

RouteProvider::$cacheTagInvalidator

The cache tag invalidator. Type: \Drupal\Core\Cache\CacheTagsInvalidatorInterface File core/lib/Drupal/Core/Routing/RouteProvider.php, line 78 Class RouteProvider A Route Provider front-end for all Drupal-stored routes. Namespace Drupal\Core\Routing Code protected $cacheTagInvalidator;

ModerationState

Defines the Moderation state entity. Plugin annotation @ConfigEntityType( id = "moderation_state", label = @Translation("Moderation state"), handlers = { "access" = "Drupal\content_moderation\ModerationStateAccessControlHandler", "list_builder" = "Drupal\content_moderation\ModerationStateListBuilder", "form" = { "add" = "Drupal\content_moderation\Form\ModerationStateForm", "edit" = "Drupal\content_moderation\Form\ModerationStateForm", "delete" = "Drupal\conte

EntityController::editTitle

public EntityController::editTitle(RouteMatchInterface $route_match, EntityInterface $_entity = NULL) Provides a generic edit title callback. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. \Drupal\Core\Entity\EntityInterface $_entity: (optional) An entity, passed in directly from the request attributes. Return value string|null The title for the entity edit page, if an entity was found. File core/lib/Drupal/Core/Entity/Controller/EntityController.php, line

SelectionInterface

Interface definition for Entity Reference Selection plugins. Hierarchy interface \Drupal\Core\Plugin\PluginFormInterfaceinterface \Drupal\Core\Entity\EntityReferenceSelection\SelectionInterface See also \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager \Drupal\Core\Entity\Annotation\EntityReferenceSelection Plugin API File core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionInterface.php, line 15 Namespace Drupal\Core\Entity\EntityReferenceSelection Member

ShortcutSetForm::save

public ShortcutSetForm::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value int Either SAVED_NEW or SAVED_UPDATED, depending on the opera

ConfigFactory::getCacheKeys

public ConfigFactory::getCacheKeys() The cache keys associated with the state of the config factory. All state information that can influence the result of a get() should be included. Typically, this includes a key for each override added via addOverride(). This allows external code to maintain caches of configuration data in addition to or instead of caches maintained by the factory. Return value array An array of strings, used to generate a cache ID. Overrides ConfigFactoryInterface::getCach

FormBase::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Form/FormBase.php, line 57 Class FormBase Provides a base class for forms. Namespace Drupal\Core\Form Code protected $requestStack;

ModerationStateAccessControlHandler

Access controller for the Moderation State entity. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityAccessControlHandler implements EntityAccessControlHandlerInterfaceclass \Drupal\content_moderation\ModerationStateAccessControlHandler See also \Drupal\workbench_moderation\Entity\ModerationState. File core/modules/content_moderation/src/ModerationStateAccessControlHandler.php, line 15 Namespac