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

RouteProcessorCsrf

Processes the outbound route to handle the CSRF token. Hierarchy class \Drupal\Core\Access\RouteProcessorCsrf implements OutboundRouteProcessorInterface File core/lib/Drupal/Core/Access/RouteProcessorCsrf.php, line 12 Namespace Drupal\Core\Access Members Name Modifiers Type Description RouteProcessorCsrf::$csrfToken protected property The CSRF token generator. RouteProcessorCsrf::processOutbound public function Processes the outbound route. Overrides OutboundRout

drupal_verify_install_file

drupal_verify_install_file($file, $mask = NULL, $type = 'file') Verifies the state of the specified file. Parameters $file: The file to check for. $mask: An optional bitmask created from various FILE_* constants. $type: The type of file. Can be file (default), dir, or link. Return value TRUE on success or FALSE on failure. A message is set for the latter. File core/includes/install.inc, line 650 API functions for installing modules and themes. Code function drupal_verify_install_file($file,

ConditionAggregateInterface

Defines aggregated entity query conditions. Hierarchy interface \Drupal\Core\Entity\Query\ConditionAggregateInterface extends \Countable File core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php, line 8 Namespace Drupal\Core\Entity\Query Members Name Modifiers Type Description ConditionAggregateInterface::compile public function Compiles this conditional clause. ConditionAggregateInterface::condition public function Adds a condition. ConditionAggreg

CachedStorage::findByPrefix

protected CachedStorage::findByPrefix($prefix) Finds configuration object names starting with a given prefix. Given the following configuration objects: node.type.article node.type.page Passing the prefix 'node.type.' will return an array containing the above names. Parameters string $prefix: The prefix to search for Return value array An array containing matching configuration object names. File core/lib/Drupal/Core/Config/CachedStorage.php, line 204 Class CachedStorage Defines the ca

User::setUsername

public User::setUsername($username) Sets the username of this account. Parameters string $username: The new user name. Return value \Drupal\user\UserInterface The called user entity. Overrides UserInterface::setUsername File core/modules/user/src/Entity/User.php, line 382 Class User Defines the user entity class. Namespace Drupal\user\Entity Code public function setUsername($username) { $this->set('name', $username); return $this; }

LanguageNegotiationMethodBase::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/modules/language/src/LanguageNegotiationMethodBase.php, line 19 Class LanguageNegotiationMethodBase Base class for language negotiation methods. Namespace Drupal\language Code protected $languageManager;

ActiveTheme::$regions

The regions provided by the theme. Type: array File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 76 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code protected $regions;

KeyValueContentEntityStorage

Provides a key value backend for content entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityStorageBase implements EntityHandlerInterface, EntityStorageInterfaceclass \Drupal\Core\Entity\KeyValueStore\KeyValueEntityStorageclass \Drupal\Core\Entity\KeyValueStore\KeyValueContentEntityStorage implements ContentEntityStorageInterface File core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueCont

NodeListBuilder::__construct

public NodeListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, DateFormatterInterface $date_formatter, RedirectDestinationInterface $redirect_destination) Constructs a new NodeListBuilder object. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class. \Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.