ConfigSchemaDiscovery::__construct

ConfigSchemaDiscovery::__construct(StorageInterface $schema_storage) Constructs a ConfigSchemaDiscovery object. Parameters $schema_storage: The storage object to use for reading schema data. File core/lib/Drupal/Core/Config/Schema/ConfigSchemaDiscovery.php, line 29 Class ConfigSchemaDiscovery Allows YAML files to define config schema types. Namespace Drupal\Core\Config\Schema Code function __construct(StorageInterface $schema_storage) { $this->schemaStorage = $schema_storage; }

EnforcedFormResponseSubscriber::onKernelResponse

public EnforcedFormResponseSubscriber::onKernelResponse(FilterResponseEvent $event) Unwraps an enforced response. File core/lib/Drupal/Core/EventSubscriber/EnforcedFormResponseSubscriber.php, line 30 Class EnforcedFormResponseSubscriber Handle the EnforcedResponseException and deliver an EnforcedResponse. Namespace Drupal\Core\EventSubscriber Code public function onKernelResponse(FilterResponseEvent $event) { $response = $event->getResponse(); if ($response instanceof EnforcedRe

JsCollectionOptimizer::getAll

public JsCollectionOptimizer::getAll() Returns all optimized asset collections assets. Return value string[] URIs for all optimized asset collection assets. Overrides AssetCollectionOptimizerInterface::getAll File core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php, line 172 Class JsCollectionOptimizer Optimizes JavaScript assets. Namespace Drupal\Core\Asset Code public function getAll() { return $this->state->get('system.js_cache_files'); }

PoStreamReader::$_langcode

Language code for the PO stream being read. Type: string File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 63 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_langcode = NULL;

EnforcedResponseException

Custom exception to break out of the main request and enforce a response. Hierarchy class \Drupal\Core\Form\EnforcedResponseException extends \Exception File core/lib/Drupal/Core/Form/EnforcedResponseException.php, line 10 Namespace Drupal\Core\Form Members Name Modifiers Type Description EnforcedResponseException::$response protected property The response to be enforced. EnforcedResponseException::getResponse public function Return the response to be enforced.

LocaleEvent

Defines a Locale event. Hierarchy class \Symfony\Component\EventDispatcher\Eventclass \Drupal\locale\LocaleEvent File core/modules/locale/src/LocaleEvent.php, line 10 Namespace Drupal\locale Members Name Modifiers Type Description Event::$dispatcher private property Event::$name private property Event::$propagationStopped private property Event::getDispatcher Deprecated public function Returns the EventDispatcher that dispatches this Event. Eve

rdf_preprocess_taxonomy_term

rdf_preprocess_taxonomy_term(&$variables) Implements hook_preprocess_HOOK() for taxonomy term templates. File core/modules/rdf/rdf.module, line 544 Enables semantically enriched output for Drupal sites in the form of RDFa. Code function rdf_preprocess_taxonomy_term(&$variables) { // Adds RDFa markup to the taxonomy term container. // The @about attribute specifies the URI of the resource described within // the HTML element, while the @typeof attribute indicates its RDF type /

Graph::searchAndSort

public Graph::searchAndSort() Performs a depth-first search and sort on the directed acyclic graph. Return value The given $graph with more secondary keys filled in: 'paths': Contains a list of vertices than can be reached on a path from this vertex. 'reverse_paths': Contains a list of vertices that has a path from them to this vertex. 'weight': If there is a path from a vertex to another then the weight of the latter is higher. 'component': Vertices in the same component have the same com

ViewsDisplay::$uses_menu_links

Whether or not to use hook_menu() to register a route. Type: bool File core/modules/views/src/Annotation/ViewsDisplay.php, line 67 Class ViewsDisplay Defines a Plugin annotation object for views display plugins. Namespace Drupal\views\Annotation Code public $uses_menu_links;

Block API

Information about the classes and interfaces that make up the Block API. Blocks are a combination of a configuration entity and a plugin. The configuration entity stores placement information (theme, region, weight) and any other configuration that is specific to the block. The block plugin does the work of rendering the block's content for display. To define a block in a module you need to: Define a Block plugin by creating a new class that implements the \Drupal\Core\Block\BlockPluginInterfac