ConstraintManager::processDefinition

public ConstraintManager::processDefinition(&$definition, $plugin_id) Performs extra processing on plugin definitions. By default we add defaults for the type to the definition. If a type has additional processing logic they can do that by replacing or extending the method. Overrides DefaultPluginManager::processDefinition File core/lib/Drupal/Core/Validation/ConstraintManager.php, line 113 Class ConstraintManager Constraint plugin manager. Namespace Drupal\Core\Validation Code pub

ContentEntityBase::label

public ContentEntityBase::label() Gets the label of the entity. Return value string|null The label of the entity, or NULL if there is no label defined. Overrides Entity::label File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 1046 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code public function label() { $label = NULL; $entity_type = $this->getEntityType(); if (($label_callback = $entit

ConfigFactory::loadOverrides

protected ConfigFactory::loadOverrides(array $names) Get arbitrary overrides for the named configuration objects from modules. Parameters array $names: The names of the configuration objects to get overrides for. Return value array An array of overrides keyed by the configuration object name. File core/lib/Drupal/Core/Config/ConfigFactory.php, line 204 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code protected function loadOverrides(arra

EntityType::setClass

public EntityType::setClass($class) Sets the class. Parameters string $class: A fully qualified class name. Return value static Throws \InvalidArgumentException If the class is invalid. Overrides PluginDefinitionInterface::setClass File core/lib/Drupal/Core/Entity/EntityType.php, line 415 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code public function setClass($class) { if (!$this->originalClass && $this-

ConfigTranslationEditForm::getFormId

public ConfigTranslationEditForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/config_translation/src/Form/ConfigTranslationEditForm.php, line 16 Class ConfigTranslationEditForm Defines a form for editing configuration translations. Namespace Drupal\config_translation\Form Code public function getFormId() { return 'config_translation_edit_form'; }

ChangedFieldItemList

Defines a item list class for changed fields. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\TypedData\Plugin\DataType\ItemList implements \IteratorAggregate, ListInterfaceclass \Drupal\Core\Field\FieldItemList implements FieldItemListInterfaceclass \Drupal\Core\Field\ChangedFieldItemList File core/lib/Drupal/Core/Field/ChangedFieldItemList.php, line 11 Namespace Dr

LanguageNegotiation

Defines a language negotiation annotation object. Plugin Namespace: Plugin\LanguageNegotiation For a working example, see \Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationBrowser. Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\language\Annotation\LanguageNegotiation See also \Drupal\language\LanguageNegotiator \Drupal\language\LanguageNegotiationMethodManager \Drupal\language\LanguageNegotiationMethodInterface hook_language_neg

EntityDisplayBase::CUSTOM_MODE

The 'mode' for runtime EntityDisplay objects used to render entities with arbitrary display options rather than a configured view mode or form mode. @todo Prevent creation of a mode with this ID https://www.drupal.org/node/2410727 File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 22 Class EntityDisplayBase Provides a common base class for entity view and form displays. Namespace Drupal\Core\Entity Code const CUSTOM_MODE = '_custom';

AdminNegotiator::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/user/src/Theme/AdminNegotiator.php, line 36 Class AdminNegotiator Sets the active theme on admin pages. Namespace Drupal\user\Theme Code protected $entityManager;

FormAjaxException::$form

The form definition. Type: array File core/lib/Drupal/Core/Form/FormAjaxException.php, line 15 Class FormAjaxException Custom exception to break out of AJAX form processing. Namespace Drupal\Core\Form Code protected $form;