BookOutlineStorage::getChildRelativeDepth

public BookOutlineStorage::getChildRelativeDepth($book_link, $max_depth) Gets child relative depth. Parameters array $book_link: The book link. int $max_depth: The maximum supported depth of the book tree. Return value int The depth of the searched book. Overrides BookOutlineStorageInterface::getChildRelativeDepth File core/modules/book/src/BookOutlineStorage.php, line 61 Class BookOutlineStorage Defines a storage class for books outline. Namespace Drupal\book Code public function ge

FilterUninstallValidator::$filterManager

The filter plugin manager. Type: \Drupal\Component\Plugin\PluginManagerInterface File core/modules/filter/src/FilterUninstallValidator.php, line 23 Class FilterUninstallValidator Prevents uninstallation of modules providing used filter plugins. Namespace Drupal\filter Code protected $filterManager;

FormValidator::handleErrorsWithLimitedValidation

protected FormValidator::handleErrorsWithLimitedValidation(&$form, FormStateInterface &$form_state, $form_id) Handles validation errors for forms with limited validation. If validation errors are limited then remove any non validated form values, so that only values that passed validation are left for submit callbacks. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. strin

FormState::setProgrammedBypassAccessCheck

public FormState::setProgrammedBypassAccessCheck($programmed_bypass_access_check = TRUE) Sets if this form submission should bypass #access. Parameters bool $programmed_bypass_access_check: If TRUE, programmatic form submissions are processed without taking #access into account. Return value $this Overrides FormStateInterface::setProgrammedBypassAccessCheck See also \Drupal\Core\Form\FormState::$programmed_bypass_access_check File core/lib/Drupal/Core/Form/FormState.php, line 687 Class F

UnroutedUrlAssembler::buildLocalUrl

protected UnroutedUrlAssembler::buildLocalUrl($uri, array $options = [], $collect_bubbleable_metadata = FALSE) File core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php, line 101 Class UnroutedUrlAssembler Provides a way to build external or non Drupal local domain URLs. Namespace Drupal\Core\Utility Code protected function buildLocalUrl($uri, array $options = [], $collect_bubbleable_metadata = FALSE) { $generated_url = $collect_bubbleable_metadata ? new GeneratedUrl() : NULL; $t

RedirectDestinationTrait

Wrapper methods for the Redirect Destination. This utility trait should only be used in application-level code, such as classes that would implement ContainerInjectionInterface. Services registered in the Container should not use this trait but inject the appropriate service directly for easier testing. Hierarchy trait \Drupal\Core\Routing\RedirectDestinationTrait File core/lib/Drupal/Core/Routing/RedirectDestinationTrait.php, line 13 Namespace Drupal\Core\Routing Members Name Modif

LanguageFormBase::create

public static LanguageFormBase::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 service

ApcuBackendFactory::$backendClass

The APCU backend class to use. Type: string File core/lib/Drupal/Core/Cache/ApcuBackendFactory.php, line 28 Class ApcuBackendFactory Namespace Drupal\Core\Cache Code protected $backendClass;

UrlGenerator::$requestStack

A request stack object. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Routing/UrlGenerator.php, line 32 Class UrlGenerator Generates URLs from route names and parameters. Namespace Drupal\Core\Routing Code protected $requestStack;

BookNavigationCacheContext::__construct

public BookNavigationCacheContext::__construct(RequestStack $request_stack) Constructs a new BookNavigationCacheContext service. Parameters \Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack. File core/modules/book/src/Cache/BookNavigationCacheContext.php, line 40 Class BookNavigationCacheContext Defines the book navigation cache context service. Namespace Drupal\book\Cache Code public function __construct(RequestStack $request_stack) { $this->reques