AdminNegotiator::determineActiveTheme

public AdminNegotiator::determineActiveTheme(RouteMatchInterface $route_match) Determine the active theme for the request. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match object. Return value string|null The name of the theme, or NULL if other negotiators, like the configured default one, should be used instead. Overrides ThemeNegotiatorInterface::determineActiveTheme File core/modules/user/src/Theme/AdminNegotiator.php, line 74 Class AdminNegotia

EntityType::get

public EntityType::get() Gets the value of an annotation. Overrides Plugin::get File core/lib/Drupal/Core/Entity/Annotation/EntityType.php, line 51 Class EntityType Defines an Entity type annotation object. Namespace Drupal\Core\Entity\Annotation Code public function get() { $values = $this->definition; // Use the specified entity type class, and remove it before instantiating. $class = $values['entity_type_class']; unset($values['entity_type_class']); return new $class(

ViewUI::getThirdPartyProviders

public ViewUI::getThirdPartyProviders() Gets the list of third parties that store information. Return value array The list of third parties. Overrides ThirdPartySettingsInterface::getThirdPartyProviders File core/modules/views_ui/src/ViewUI.php, line 1297 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function getThirdPartyProviders() { return $this->storage->getThirdPartyProviders(); }

NullStorageExpirable::deleteMultiple

public NullStorageExpirable::deleteMultiple(array $keys) Deletes multiple items from the key/value store. Parameters array $keys: A list of item names to delete. Overrides KeyValueStoreInterface::deleteMultiple File core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php, line 88 Class NullStorageExpirable Defines a null key/value store implementation. Namespace Drupal\Core\KeyValueStore Code public function deleteMultiple(array $keys) { }

CommentManagerInterface

Comment manager contains common functions to manage comment fields. Hierarchy interface \Drupal\comment\CommentManagerInterface File core/modules/comment/src/CommentManagerInterface.php, line 10 Namespace Drupal\comment Members Name Modifiers Type Description CommentManagerInterface::addBodyField public function Creates a comment_body field. CommentManagerInterface::COMMENT_MODE_FLAT constant Comments are displayed in a flat list - expanded. CommentManagerInter

hook_entity_bundle_field_info_alter

hook_entity_bundle_field_info_alter(&$fields, \Drupal\Core\Entity\EntityTypeInterface $entity_type, $bundle) Alter bundle field definitions. @todo WARNING: This hook will be changed in https://www.drupal.org/node/2346347. Parameters \Drupal\Core\Field\FieldDefinitionInterface[] $fields: The array of bundle field definitions. \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. string $bundle: The bundle. See also hook_entity_base_field_info() hook_entity_base_

Schema::createFieldSql

protected Schema::createFieldSql($name, $spec) Create an SQL string for a field to be used in table creation or alteration. Before passing a field out of a schema definition into this function it has to be processed by _db_process_field(). Parameters string $name: Name of the field. array $spec: The field specification, as per the schema data structure format. File core/lib/Drupal/Core/Database/Driver/mysql/Schema.php, line 147 Class Schema MySQL implementation of \Drupal\Core\Database\Sc

DenyNodePreview::$routeMatch

The current route match. Type: \Drupal\Core\Routing\RouteMatchInterface File core/modules/node/src/PageCache/DenyNodePreview.php, line 23 Class DenyNodePreview Cache policy for node preview page. Namespace Drupal\node\PageCache Code protected $routeMatch;

EntityTypeManager::getListBuilder

public EntityTypeManager::getListBuilder($entity_type) Creates a new entity list builder. Parameters string $entity_type: The entity type for this list builder. Return value \Drupal\Core\Entity\EntityListBuilderInterface An entity list builder instance. Overrides EntityTypeManagerInterface::getListBuilder File core/lib/Drupal/Core/Entity/EntityTypeManager.php, line 175 Class EntityTypeManager Manages entity type plugin definitions. Namespace Drupal\Core\Entity Code public function ge

Schema::prepareComment

public Schema::prepareComment($comment, $length = NULL) Prepare a table or column comment for database query. Parameters $comment: The comment string to prepare. $length: Optional upper limit on the returned string length. Return value The prepared comment. Overrides Schema::prepareComment File core/lib/Drupal/Core/Database/Driver/mysql/Schema.php, line 538 Class Schema MySQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\mysql Code public funct