UserViewsData::getViewsData

public UserViewsData::getViewsData() Returns views data for the entity type. Return value array Views data in the format of hook_views_data(). Overrides EntityViewsData::getViewsData File core/modules/user/src/UserViewsData.php, line 15 Class UserViewsData Provides the views data for the user entity type. Namespace Drupal\user Code public function getViewsData() { $data = parent::getViewsData(); $data['users_field_data']['table']['base']['help'] = $this->t('Users who have crea

Tables::$caseSensitiveFields

List of case sensitive fields. Type: array File core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 51 Class Tables Adds tables and fields to the SQL entity query. Namespace Drupal\Core\Entity\Query\Sql Code protected $caseSensitiveFields = array();

ViewsData::$fullyLoaded

Whether the data has been fully loaded in this request. Type: bool File core/modules/views/src/ViewsData.php, line 60 Class ViewsData Class to manage and lazy load cached views data. Namespace Drupal\views Code protected $fullyLoaded = FALSE;

ChainRequestPolicy::check

public ChainRequestPolicy::check(Request $request) Determines whether delivery of a cached page should be attempted. Note that the request-policy check runs very early. In particular it is not possible to determine the logged in user. Also the current route match is not yet present when the check runs. Therefore, request-policy checks need to be designed in a way such that they do not depend on any other service and only take in account the information present on the incoming request. When matc

Statement::fetchAllAssoc

public Statement::fetchAllAssoc($key, $fetch = NULL) Returns the result set as an associative array keyed by the given field. If the given key appears multiple times, later records will overwrite earlier ones. Parameters $key: The name of the field on which to index the array. $fetch: The fetchmode to use. If set to PDO::FETCH_ASSOC, PDO::FETCH_NUM, or PDO::FETCH_BOTH the returned value with be an array of arrays. For any other value it will be an array of objects. By default, the fetch mode s

hook_config_schema_info_alter

hook_config_schema_info_alter(&$definitions) Alter config typed data definitions. For example you can alter the typed data types representing each configuration schema type to change default labels or form element renderers used for configuration translation. If implementations of this hook add or remove configuration schema a ConfigSchemaAlterException will be thrown. Keep in mind that there are tools that may use the configuration schema for static analysis of configuration files, like th

EntityManager::createInstance

public EntityManager::createInstance($plugin_id, array $configuration = []) Overrides FactoryInterface::createInstance Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityManager.php, line 502 Class EntityManager Provides a wrapper around many other services relating to entities. Namespace Drupal\Core\Entity Code public function createInstance($plugin_id, array $configuration = []) { return $this->container->get('entity_typ

SqlContentEntityStorage::countFieldData

public SqlContentEntityStorage::countFieldData($storage_definition, $as_bool = FALSE) Determines the number of entities with values for a given field. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field for which to count data records. bool $as_bool: (Optional) Optimises the query for checking whether there are any records or not. Defaults to FALSE. Return value bool|int The number of entities. If $as_bool parameter is TRUE then the value will either b

EntityType::isPersistentlyCacheable

public EntityType::isPersistentlyCacheable() Indicates if the persistent cache of field data should be used. @todo Used by ContentEntityStorageBase only. The persistent cache should usually only be disabled if a higher level persistent cache is available for the entity type. Return value bool Overrides EntityTypeInterface::isPersistentlyCacheable File core/lib/Drupal/Core/Entity/EntityType.php, line 357 Class EntityType Provides an implementation of an entity type and its metadata. Name

ConditionFundamentals

Common code for all implementations of the entity query condition interfaces. Hierarchy class \Drupal\Core\Entity\Query\ConditionFundamentals File core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php, line 8 Namespace Drupal\Core\Entity\Query Members Name Modifiers Type Description ConditionFundamentals::$conditions protected property Array of conditions. ConditionFundamentals::$conjunction protected property The conjunction of this condition group. The va