EarlyRenderingControllerWrapperSubscriber::onController

public EarlyRenderingControllerWrapperSubscriber::onController(FilterControllerEvent $event) Ensures bubbleable metadata from early rendering is not lost. Parameters \Symfony\Component\HttpKernel\Event\FilterControllerEvent $event: The controller event. File core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php, line 90 Class EarlyRenderingControllerWrapperSubscriber Subscriber that wraps controllers, to handle early rendering. Namespace Drupal\Core\EventSu

Number::getInfo

public Number::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/Number.php, line 38 Class Number Provides a form element for numeric input, with special numeric validation. Namespace Drupal\Core\Ren

EntityTypeManager::__construct

public EntityTypeManager::__construct(\Traversable $namespaces, ModuleHandlerInterface $module_handler, CacheBackendInterface $cache, TranslationInterface $string_translation, ClassResolverInterface $class_resolver) Constructs a new Entity plugin manager. Parameters \Traversable $namespaces: An object that implements \Traversable which contains the root paths keyed by the corresponding namespace to look for plugin implementations, \Drupal\Core\Extension\ModuleHandlerInterface $module_handler:

ConfigDependencies::$authProviders

The authentication providers, keyed by ID. Type: string[] File core/modules/rest/src/Entity/ConfigDependencies.php, line 28 Class ConfigDependencies Calculates rest resource config dependencies. Namespace Drupal\rest\Entity Code protected $authProviders;

BookManager::findChildrenRelativeDepth

protected BookManager::findChildrenRelativeDepth(array $book_link) Determine the relative depth of the children of a given book link. Parameters array $book_link: The book link. Return value int The difference between the max depth in the book tree and the depth of the passed book link. File core/modules/book/src/BookManager.php, line 148 Class BookManager Defines a book manager. Namespace Drupal\book Code protected function findChildrenRelativeDepth(array $book_link) { $max_depth

hook_entity_storage_load

hook_entity_storage_load(array $entities, $entity_type) Act on content entities when loaded from the storage. The results of this hook will be cached. Parameters \Drupal\Core\Entity\EntityInterface[] $entities: The entities keyed by entity ID. string $entity_type: The type of entities being loaded (i.e. node, user, comment). See also hook_entity_load() Related topics Hooks Define functions that alter the behavior of Drupal core. File core/lib/Drupal/Core/Entity/entity.api.php, line 870 Hook

SelectInterface::getOrderBy

public &SelectInterface::getOrderBy() Returns a reference to the order by array for this query. Because this method returns by reference, alter hooks may edit the order-by array directly to make their changes. If just adding additional ordering fields, however, the use of orderBy() is preferred. Note that this method must be called by reference as well: $fields =& $query->getOrderBy(); Return value A reference to the expression array structure. File core/lib/Drupal/Core/Database/Qu

UpdateRegistry::getPendingUpdateInformation

public UpdateRegistry::getPendingUpdateInformation() Returns a list of all the pending updates. Return value array[] An associative array keyed by module name which contains all information about database updates that need to be run, and any updates that are not going to proceed due to missing requirements. The subarray for each module can contain the following keys: start: The starting update that is to be processed. If this does not exist then do not process any updates for this module as t

BundleEntityFormBase::protectBundleIdElement

protected BundleEntityFormBase::protectBundleIdElement(array $form) Protects the bundle entity's ID property's form element against changes. This method is assumed to be called on a completely built entity form, including a form element for the bundle config entity's ID property. Parameters array $form: The completely built entity bundle form array. Return value array The updated entity bundle form array. File core/lib/Drupal/Core/Entity/BundleEntityFormBase.php, line 22 Class BundleEntit

menu-local-task.html.twig

Default theme implementation for a local task link. Available variables: attributes: HTML attributes for the wrapper element. is_active: Whether the task item is an active tab. link: A rendered link element. Note: This template renders the content for each task item in menu-local-tasks.html.twig. See also template_preprocess_menu_local_task() File core/modules/system/templates/menu-local-task.html.twig Related topics Theme system overview Functions and templates for the user interface