EntityLastInstalledSchemaRepository::setLastInstalledFieldStorageDefinition

public EntityLastInstalledSchemaRepository::setLastInstalledFieldStorageDefinition(FieldStorageDefinitionInterface $storage_definition) Stores the field storage definition in the application state. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. Overrides EntityLastInstalledSchemaRepositoryInterface::setLastInstalledFieldStorageDefinition File core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php, line 75 Class

MenuActiveTrail

Provides the default implementation of the active menu trail service. It uses the current route name and route parameters to compare with the ones of the menu links. Hierarchy class \Drupal\Core\Cache\CacheCollector implements CacheCollectorInterface, DestructableInterfaceclass \Drupal\Core\Menu\MenuActiveTrail implements MenuActiveTrailInterface File core/lib/Drupal/Core/Menu/MenuActiveTrail.php, line 16 Namespace Drupal\Core\Menu Members Name Modifiers Type Description Cach

EntityConfirmFormBase

Provides a generic base class for an entity-based confirmation form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\EntityConfirmFormBase implements ConfirmFormInterface Related topics Entity API Describes how

FieldConfigEditForm::actions

protected FieldConfigEditForm::actions(array $form, FormStateInterface $form_state) Returns an array of supported actions for the current entity form. @todo Consider introducing a 'preview' action here, since it is used by many entity types. Overrides EntityForm::actions File core/modules/field_ui/src/Form/FieldConfigEditForm.php, line 115 Class FieldConfigEditForm Provides a form for the field settings form. Namespace Drupal\field_ui\Form Code protected function actions(array $form, F

Url::fromUri

public static Url::fromUri($uri, $options = []) Creates a new Url object from a URI. This method is for generating URLs for URIs that: do not have Drupal routes: both external URLs and unrouted local URIs like base:robots.txt do have a Drupal route but have a custom scheme to simplify linking. Currently, there is only the entity: scheme (This allows URIs of the form entity:{entity_type}/{entity_id}. For example: entity:node/1 resolves to the entity.node.canonical route with a node parameter of

FieldStorageAddForm

Provides a form for the "field storage" add page. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\field_ui\Form\FieldStorageAddForm File core/modules/field_ui/src/Form/FieldStorageAddForm.php, line 19 Namespace Drupal\field_ui\Form Members Name Modifiers Type Description Dep

config_help

config_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/config/config.module, line 13 Allows site administrators to modify configuration. Code function config_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.config': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Configuration Manager module provides a user interface for importin

UserCacheContextBase

Base class for user-based cache contexts. Subclasses need to implement either \Drupal\Core\Cache\Context\CacheContextInterface or \Drupal\Core\Cache\Context\CalculatedCacheContextInterface. Hierarchy class \Drupal\Core\Cache\Context\UserCacheContextBase File core/lib/Drupal/Core/Cache/Context/UserCacheContextBase.php, line 14 Namespace Drupal\Core\Cache\Context Members Name Modifiers Type Description UserCacheContextBase::$user protected property The account object. Us

FormInterface

Provides an interface for a Form. Hierarchy interface \Drupal\Core\Form\FormInterface Related topics Form generation Describes how to generate and manipulate forms and process form submissions. File core/lib/Drupal/Core/Form/FormInterface.php, line 10 Namespace Drupal\Core\Form Members Name Modifiers Type Description FormInterface::buildForm public function Form constructor. FormInterface::getFormId public function Returns a unique string identifying the form.

RoleAccessControlHandler::checkAccess

protected RoleAccessControlHandler::checkAccess(EntityInterface $entity, $operation, AccountInterface $account) Performs access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which to check access. string $operation: The entity operation. Usually one of 'view', 'view label', 'update' or 'delete'. \Drupal\Core\Session\AccountInterface $account: The user for wh