MenuLinkResetForm::$menuLinkManager

The menu link manager. Type: \Drupal\Core\Menu\MenuLinkManagerInterface File core/modules/menu_ui/src/Form/MenuLinkResetForm.php, line 23 Class MenuLinkResetForm Defines a confirmation form for resetting a single modified menu link. Namespace Drupal\menu_ui\Form Code protected $menuLinkManager;

CachedStorage::$cache

The instantiated Cache backend. Type: \Drupal\Core\Cache\CacheBackendInterface File core/lib/Drupal/Core/Config/CachedStorage.php, line 30 Class CachedStorage Defines the cached storage. Namespace Drupal\Core\Config Code protected $cache;

LanguageDeleteForm::getDeletionMessage

protected LanguageDeleteForm::getDeletionMessage() Gets the message to display to the user after deleting the entity. Return value string The translated string of the deletion message. Overrides EntityDeleteFormTrait::getDeletionMessage File core/modules/language/src/Form/LanguageDeleteForm.php, line 29 Class LanguageDeleteForm Defines a confirmation form for deleting a language entity. Namespace Drupal\language\Form Code protected function getDeletionMessage() { return $this->t(

KeyValueEntityStorage::has

protected KeyValueEntityStorage::has($id, EntityInterface $entity) Determines if this entity already exists in storage. Parameters int|string $id: The original entity ID. \Drupal\Core\Entity\EntityInterface $entity: The entity being saved. Return value bool Overrides EntityStorageBase::has File core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php, line 186 Class KeyValueEntityStorage Provides a key value backend for entities. Namespace Drupal\Core\Entity\KeyValueStore

SessionCacheContext::getLabel

public static SessionCacheContext::getLabel() File core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php, line 17 Class SessionCacheContext Defines the SessionCacheContext service, for "per session" caching. Namespace Drupal\Core\Cache\Context Code public static function getLabel() { return t('Session'); }

FormBuilder::getFormId

public FormBuilder::getFormId($form_arg, FormStateInterface &$form_state) Determines the ID of a form. Parameters \Drupal\Core\Form\FormInterface|string $form_arg: The value is identical to that of self::getForm()'s $form_arg argument. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value string The unique string identifying the desired form. Overrides FormBuilderInterface::getFormId File core/lib/Drupal/Core/Form/FormBuilder.php, line 182 Class

BaseCommand

Base command that only exists to simplify AJAX commands. Hierarchy class \Drupal\Core\Ajax\BaseCommand implements CommandInterface File core/lib/Drupal/Core/Ajax/BaseCommand.php, line 8 Namespace Drupal\Core\Ajax Members Name Modifiers Type Description BaseCommand::$command protected property The name of the command. BaseCommand::$data protected property The data to pass on to the client side. BaseCommand::render public function Return an array to be run

EntityDefinitionUpdateManager::uninstallEntityType

public EntityDefinitionUpdateManager::uninstallEntityType(EntityTypeInterface $entity_type) Uninstalls an entity type definition. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. Overrides EntityDefinitionUpdateManagerInterface::uninstallEntityType File core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php, line 150 Class EntityDefinitionUpdateManager Manages entity definition updates. Namespace Drupal\Core\Entity Code public functio

RefinableCacheableDependencyTrait::addCacheContexts

public RefinableCacheableDependencyTrait::addCacheContexts(array $cache_contexts) Adds cache contexts. Parameters string[] $cache_contexts: The cache contexts to be added. Return value $this Overrides RefinableCacheableDependencyInterface::addCacheContexts File core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php, line 71 Class RefinableCacheableDependencyTrait Trait for \Drupal\Core\Cache\RefinableCacheableDependencyInterface. Namespace Drupal\Core\Cache Code public func

LoggerChannel::setRequestStack

public LoggerChannel::setRequestStack(RequestStack $requestStack = NULL) Sets the request stack. Parameters \Symfony\Component\HttpFoundation\RequestStack|null $requestStack: The current request object. Overrides LoggerChannelInterface::setRequestStack File core/lib/Drupal/Core/Logger/LoggerChannel.php, line 145 Class LoggerChannel Defines a logger channel that most implementations will use. Namespace Drupal\Core\Logger Code public function setRequestStack(RequestStack $requestStack =