BackendChain::appendBackend

public BackendChain::appendBackend(CacheBackendInterface $backend) Appends a cache backend to the cache chain. Parameters CacheBackendInterface $backend: The cache backend to be appended to the cache chain. Return value \Drupal\Core\Cache\BackendChain The called object. File core/lib/Drupal/Core/Cache/BackendChain.php, line 49 Class BackendChain Defines a chained cache implementation for combining multiple cache backends. Namespace Drupal\Core\Cache Code public function appendBackend

LinkGenerator::$moduleHandler

The module handler firing the route_link alter hook. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Utility/LinkGenerator.php, line 34 Class LinkGenerator Provides a class which generates a link with route names and parameters. Namespace Drupal\Core\Utility Code protected $moduleHandler;

FormStateDecoratorBase::getSubmitHandlers

public FormStateDecoratorBase::getSubmitHandlers() Gets the submit handlers. Return value array An array of submit handlers. Overrides FormStateInterface::getSubmitHandlers File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 308 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function getSubmitHandlers() { return $this->decoratedFormState->getSubmitHandlers(); }

CsrfTokenController::create

public static CsrfTokenController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The serv

AccessAwareRouter::checkAccess

protected AccessAwareRouter::checkAccess(Request $request) Apply access check service to the route and parameters in the request. Parameters \Symfony\Component\HttpFoundation\Request $request: The request to access check. File core/lib/Drupal/Core/Routing/AccessAwareRouter.php, line 99 Class AccessAwareRouter A router class for Drupal with access check and upcasting. Namespace Drupal\Core\Routing Code protected function checkAccess(Request $request) { // The cacheability (if any) of

ContentModerationState::updateOrCreateFromEntity

public static ContentModerationState::updateOrCreateFromEntity(ContentModerationState $content_moderation_state) Creates or updates an entity's moderation state whilst saving that entity. @internal This method should only be called as a result of saving the related content entity. Parameters \Drupal\content_moderation\Entity\ContentModerationState $content_moderation_state: The content moderation entity content entity to create or save. File core/modules/content_moderation/src/Entity/ContentMo

View::$description

The description of the view, which is used only in the interface. Type: string File core/modules/views/src/Entity/View.php, line 67 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $description = '';

MetadataGenerator::$editorManager

The manager for editor plugins. Type: \Drupal\Component\Plugin\PluginManagerInterface File core/modules/quickedit/src/MetadataGenerator.php, line 35 Class MetadataGenerator Generates in-place editing metadata for an entity field. Namespace Drupal\quickedit Code protected $editorManager;

FormState::setMethod

public FormState::setMethod($method) Sets the HTTP method to use for the form's submission. This is what the form's "method" attribute should be, not necessarily what the current request's HTTP method is. For example, a form can have a method attribute of POST, but the request that initially builds it uses GET. Parameters string $method: Either "GET" or "POST". Other HTTP methods are not valid form submission methods. Return value $this Overrides FormStateInterface::setMethod See also \Drupa

UserPermissionsRoleSpecificForm::getRoles

protected UserPermissionsRoleSpecificForm::getRoles() Gets the roles to display in this form. Return value \Drupal\user\RoleInterface[] An array of role objects. Overrides UserPermissionsForm::getRoles File core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php, line 23 Class UserPermissionsRoleSpecificForm Provides the user permissions administration form for a specific role. Namespace Drupal\user\Form Code protected function getRoles() { return array($this->userRole->