SqlContentEntityStorageSchema::createEntitySchemaIndexes

protected SqlContentEntityStorageSchema::createEntitySchemaIndexes(array $entity_schema, FieldStorageDefinitionInterface $storage_definition = NULL) Creates the specified entity schema indexes and keys. Parameters array $entity_schema: The entity schema definition. \Drupal\Core\Field\FieldStorageDefinitionInterface|null $storage_definition: (optional) If a field storage definition is specified, only indexes and keys involving its columns will be processed. Otherwise all defined entity indexes

VocabularyInterface::HIERARCHY_DISABLED

Denotes that no term in the vocabulary has a parent. File core/modules/taxonomy/src/VocabularyInterface.php, line 15 Class VocabularyInterface Provides an interface defining a taxonomy vocabulary entity. Namespace Drupal\taxonomy Code const HIERARCHY_DISABLED = 0;

ViewListBuilder::load

public ViewListBuilder::load() Loads entities of this type from storage for listing. This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface. Overrides ConfigEntityListBuilder::load File core/modules/views_ui/src/ViewListBuilder.php, line 67 Class ViewListBuilder Defines a class to build a listing of view entities. Name

content_moderation_entity_insert

content_moderation_entity_insert(EntityInterface $entity) Implements hook_entity_insert(). File core/modules/content_moderation/content_moderation.module, line 96 Contains content_moderation.module. Code function content_moderation_entity_insert(EntityInterface $entity) { return \Drupal::service('class_resolver') ->getInstanceFromDefinition(EntityOperations::class) ->entityInsert($entity); }

ManyToOneHelper::getField

public ManyToOneHelper::getField() Sometimes the handler might want us to use some kind of formula, so give it that option. If it wants us to do this, it must set $helper->formula = TRUE and implement handler->getFormula(); File core/modules/views/src/ManyToOneHelper.php, line 46 Class ManyToOneHelper This many to one helper object is used on both arguments and filters. Namespace Drupal\views Code public function getField() { if (!empty($this->formula)) { return $this-&g

ConfigHandler::__construct

public ConfigHandler::__construct($type = NULL, $id = NULL) Constructs a new ConfigHandler object. File core/modules/views_ui/src/Form/Ajax/ConfigHandler.php, line 19 Class ConfigHandler Provides a form for configuring an item in the Views UI. Namespace Drupal\views_ui\Form\Ajax Code public function __construct($type = NULL, $id = NULL) { $this->setType($type); $this->setID($id); }

MailFormatHelper::$urls

Internal array of urls replaced with tokens. Type: array File core/lib/Drupal/Core/Mail/MailFormatHelper.php, line 20 Class MailFormatHelper Defines a class containing utility methods for formatting mail messages. Namespace Drupal\Core\Mail Code protected static $urls = array();

PoStreamInterface

Common functions for file/stream based PO readers/writers. Hierarchy interface \Drupal\Component\Gettext\PoStreamInterface See also PoReaderInterface PoWriterInterface File core/lib/Drupal/Component/Gettext/PoStreamInterface.php, line 11 Namespace Drupal\Component\Gettext Members Name Modifiers Type Description PoStreamInterface::close public function Close the stream. PoStreamInterface::getURI public function Gets the URI of the PO stream that is being read or

Checkbox::valueCallback

public static Checkbox::valueCallback(&$element, $input, FormStateInterface $form_state) Determines how user input is mapped to an element's #value property. Parameters array $element: An associative array containing the properties of the element. mixed $input: The incoming input to populate the form element. If this is FALSE, the element's default value should be returned. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value mixed The value to ass

PrivateTempStoreFactory::$storageFactory

The storage factory creating the backend to store the data. Type: \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface File core/modules/user/src/PrivateTempStoreFactory.php, line 20 Class PrivateTempStoreFactory Creates a PrivateTempStore object for a given collection. Namespace Drupal\user Code protected $storageFactory;