RouteSubscriber::__construct

public RouteSubscriber::__construct(EntityManagerInterface $manager) Constructs a RouteSubscriber object. Parameters \Drupal\Core\Entity\EntityManagerInterface $manager: The entity type manager. File core/modules/field_ui/src/Routing/RouteSubscriber.php, line 29 Class RouteSubscriber Subscriber for Field UI routes. Namespace Drupal\field_ui\Routing Code public function __construct(EntityManagerInterface $manager) { $this->manager = $manager; }

ThemeHandlerInterface::getTheme

public ThemeHandlerInterface::getTheme($name) Returns a theme extension object from the currently active theme list. Parameters string $name: The name of the theme to return. Return value \Drupal\Core\Extension\Extension An extension object. Throws \InvalidArgumentException Thrown when the requested theme does not exist. File core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 204 Class ThemeHandlerInterface Manages the list of available themes. Namespace Drupal\Core\Exten

AjaxResponse::getCommands

public &AjaxResponse::getCommands() Gets all AJAX commands. Return value \Drupal\Core\Ajax\CommandInterface[] Returns all previously added AJAX commands. File core/lib/Drupal/Core/Ajax/AjaxResponse.php, line 64 Class AjaxResponse JSON response object for AJAX requests. Namespace Drupal\Core\Ajax Code public function &getCommands() { return $this->commands; }

StringDatabaseStorage::dbStringKeys

protected StringDatabaseStorage::dbStringKeys($string) Gets keys values that are in a database table. Parameters \Drupal\locale\StringInterface $string: The string object. Return value array Array with key fields if the string has all keys, or empty array if not. File core/modules/locale/src/StringDatabaseStorage.php, line 291 Class StringDatabaseStorage Defines a class to store localized strings in the database. Namespace Drupal\locale Code protected function dbStringKeys($string) {

ConstraintManager::getDiscovery

protected ConstraintManager::getDiscovery() Gets the plugin discovery. Return value \Drupal\Component\Plugin\Discovery\DiscoveryInterface Overrides DefaultPluginManager::getDiscovery File core/lib/Drupal/Core/Validation/ConstraintManager.php, line 51 Class ConstraintManager Constraint plugin manager. Namespace Drupal\Core\Validation Code protected function getDiscovery() { if (!isset($this->discovery)) { $this->discovery = parent::getDiscovery(); $this->discovery =

update_process_project_info

update_process_project_info(&$projects) Determines version and type information for currently installed projects. Processes the list of projects on the system to figure out the currently installed versions, and other information that is required before we can compare against the available releases to produce the status report. Parameters $projects: Array of project information from \Drupal\Update\UpdateManager::getProjects(). File core/modules/update/update.compare.inc, line 19 Code requir

LocalTaskDefault::getCacheMaxAge

public LocalTaskDefault::getCacheMaxAge() The maximum age for which this object may be cached. Return value int The maximum time in seconds that this object may be cached. Overrides CacheableDependencyInterface::getCacheMaxAge File core/lib/Drupal/Core/Menu/LocalTaskDefault.php, line 166 Class LocalTaskDefault Default object used for LocalTaskPlugins. Namespace Drupal\Core\Menu Code public function getCacheMaxAge() { if (!isset($this->pluginDefinition['cache_max_age'])) { ret

InvalidLibrariesExtendSpecificationException

Defines a custom exception for an invalid libraries-extend specification. Hierarchy class \Drupal\Core\Asset\Exception\InvalidLibrariesExtendSpecificationException extends \RuntimeException File core/lib/Drupal/Core/Asset/Exception/InvalidLibrariesExtendSpecificationException.php, line 8 Namespace Drupal\Core\Asset\Exception Members

Token

Stores token data in a hidden form field. This is generally used to protect against cross-site forgeries. A token element is automatically added to each Drupal form by an implementation of \Drupal\Core\Form\FormBuilderInterface::prepareForm() so you don't generally have to add one yourself. Plugin annotation @FormElement("token") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses Depen

JsCollectionOptimizer

Optimizes JavaScript assets. Hierarchy class \Drupal\Core\Asset\JsCollectionOptimizer implements AssetCollectionOptimizerInterface File core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php, line 11 Namespace Drupal\Core\Asset Members Name Modifiers Type Description JsCollectionOptimizer::$dumper protected property An asset dumper. JsCollectionOptimizer::$grouper protected property A JS asset grouper. JsCollectionOptimizer::$optimizer protected property A