RouteBuilder::getRouteDefinitions

protected RouteBuilder::getRouteDefinitions() Retrieves all defined routes from .routing.yml files. Return value array The defined routes, keyed by provider. File core/lib/Drupal/Core/Routing/RouteBuilder.php, line 226 Class RouteBuilder Managing class for rebuilding the router table. Namespace Drupal\Core\Routing Code protected function getRouteDefinitions() { // Always instantiate a new YamlDiscovery object so that we always search on // the up-to-date list of modules. $discov

Schema::addUniqueKey

public Schema::addUniqueKey($table, $name, $fields) Add a unique key. Parameters $table: The table to be altered. $name: The name of the key. $fields: An array of field names. Throws \Drupal\Core\Database\SchemaObjectDoesNotExistException If the specified table doesn't exist. \Drupal\Core\Database\SchemaObjectExistsException If the specified table already has a key by that name. Overrides Schema::addUniqueKey File core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php, line 634 Class Sche

StatementPrefetch::getStatement

protected StatementPrefetch::getStatement($query, &$args = array()) Grab a PDOStatement object from a given query and its arguments. Some drivers (including SQLite) will need to perform some preparation themselves to get the statement right. Parameters $query: The query. array $args: An array of arguments. Return value \PDOStatement A PDOStatement object. File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 222 Class StatementPrefetch An implementation of StatementInterface

EntityFieldManager::$keyValueFactory

The key-value factory. Type: \Drupal\Core\KeyValueStore\KeyValueFactoryInterface File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 96 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $keyValueFactory;

RouteProvider

A Route Provider front-end for all Drupal-stored routes. Hierarchy class \Drupal\Core\Routing\RouteProvider implements PreloadableRouteProviderInterface, PagedRouteProviderInterface, EventSubscriberInterface File core/lib/Drupal/Core/Routing/RouteProvider.php, line 22 Namespace Drupal\Core\Routing Members Name Modifiers Type Description RouteProvider::$cache protected property The cache backend. RouteProvider::$cacheTagInvalidator protected property The cache tag

ViewUI::getCacheTags

public ViewUI::getCacheTags() The cache tags associated with this object. When this object is modified, these cache tags will be invalidated. Return value string[] A set of cache tags. Overrides CacheableDependencyInterface::getCacheTags File core/modules/views_ui/src/ViewUI.php, line 1234 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function getCacheTags() { return $this->storage->getCacheTags(); }

DiffFormatter::_lines

protected DiffFormatter::_lines($lines, $prefix = ' ', $color = 'white') Overrides DiffFormatter::_lines File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 86 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _lines($lines, $prefix = ' ', $color = 'white') { }

LanguageNegotiator::purgeConfiguration

LanguageNegotiator::purgeConfiguration() Resave the configuration to purge missing negotiation methods. Overrides LanguageNegotiatorInterface::purgeConfiguration File core/modules/language/src/LanguageNegotiator.php, line 277 Class LanguageNegotiator Class responsible for performing language negotiation. Namespace Drupal\language Code function purgeConfiguration() { // Ensure that we are getting the defined language negotiation information. // An invocation of \Drupal\Core\Extensio

SearchPageListBuilder::submitForm

public SearchPageListBuilder::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides DraggableListBuilder::submitForm File core/modules/search/src/SearchPageListBuilder.php, line 326 Class SearchPageListBuilder Defines a class to build a listing of search page entities. Namespace Drup

EditDetails::buildForm

public EditDetails::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/views_ui/src/Form/Ajax/EditDetails.php, line 30 Class EditDetails Provides a form for editing the details of a View. Namespace Drupal\views_