EntityDisplayBase::getFieldDefinition

protected EntityDisplayBase::getFieldDefinition($field_name) Gets the field definition of a field. File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 377 Class EntityDisplayBase Provides a common base class for entity view and form displays. Namespace Drupal\Core\Entity Code protected function getFieldDefinition($field_name) { $definitions = $this->getFieldDefinitions(); return isset($definitions[$field_name]) ? $definitions[$field_name] : NULL; }

ChainRequestPolicy::$rules

A list of policy rules to apply when this policy is evaluated. Type: \Drupal\Core\PageCache\RequestPolicyInterface[] File core/lib/Drupal/Core/PageCache/ChainRequestPolicy.php, line 28 Class ChainRequestPolicy Implements a compound request policy. Namespace Drupal\Core\PageCache Code protected $rules = [];

EntityDisplayBase::fieldHasDisplayOptions

private EntityDisplayBase::fieldHasDisplayOptions(FieldDefinitionInterface $definition) Determines if a field has options for a given display. Parameters FieldDefinitionInterface $definition: A field definition. Return value array|null File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 406 Class EntityDisplayBase Provides a common base class for entity view and form displays. Namespace Drupal\Core\Entity Code private function fieldHasDisplayOptions(FieldDefinitionInterface

Ignore

Configuration property to ignore. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\Config\Schema\Elementclass \Drupal\Core\Config\Schema\Ignore File core/lib/Drupal/Core/Config/Schema/Ignore.php, line 8 Namespace Drupal\Core\Config\Schema Members Name Modifiers Type Description Element::$value protected property The configuration value. Element::getT

ContentEntityNullStorage::hasData

public ContentEntityNullStorage::hasData() Determines if the storage contains any data. Return value bool TRUE if the storage contains data, FALSE if not. Overrides ContentEntityStorageBase::hasData File core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php, line 138 Class ContentEntityNullStorage Defines a null entity storage. Namespace Drupal\Core\Entity Code public function hasData() { return FALSE; }

StreamWrapperInterface::getType

public static StreamWrapperInterface::getType() Returns the type of stream wrapper. Return value int File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 103 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code public static function getType();

ConfigDependencyManager::createGraphConfigEntityDependencies

protected ConfigDependencyManager::createGraphConfigEntityDependencies($entities_to_check) Creates a graph of config entity dependencies. Parameters array $entities_to_check: The configuration entity full configuration names to determine the dependencies for. Return value \Drupal\Core\Config\Entity\ConfigEntityDependency[] A graph of config entity dependency objects that are dependent on the supplied entities to check. File core/lib/Drupal/Core/Config/Entity/ConfigDependencyManager.php, line

RoleInterface

Provides an interface defining a user role entity. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\user\RoleInterface Related topics User accounts, permissions, and roles API for user accounts, access checking, roles, and permissions. File core/modules/user/src/RoleInterface.php, line 13 Namespace Drupal\user Members Name Modifiers

RoleListBuilder::submitForm

public RoleListBuilder::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/user/src/RoleListBuilder.php, line 58 Class RoleListBuilder Defines a class to build a listing of user role entities. Namespace Drupal\user Code public fu

LanguageManager::filterLanguages

protected LanguageManager::filterLanguages(array $languages, $flags = LanguageInterface::STATE_CONFIGURABLE) Filters the full list of languages based on the value of the flag. The locked languages are removed by default. Parameters \Drupal\Core\Language\LanguageInterface[] $languages: Array with languages to be filtered. int $flags: (optional) Specifies the state of the languages that have to be returned. It can be: LanguageInterface::STATE_CONFIGURABLE, LanguageInterface::STATE_LOCKED, or Lan