SqlContentEntityStorage::delete

public SqlContentEntityStorage::delete(array $entities) Deletes permanently saved entities. Parameters array $entities: An array of entity objects to delete. Throws \Drupal\Core\Entity\EntityStorageException In case of failures, an exception is thrown. Overrides EntityStorageBase::delete File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 702 Class SqlContentEntityStorage A content entity database storage implementation. Namespace Drupal\Core\Entity\Sql Code public

EntityDisplayInterface::getTargetEntityTypeId

public EntityDisplayInterface::getTargetEntityTypeId() Gets the entity type for which this display is used. Return value string The entity type id. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 95 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function getTargetEntityTypeId();

FormState::$triggering_element

The form element that triggered submission, which may or may not be a button (in the case of Ajax forms). This key is often used to distinguish between various buttons in a submit handler, and is also used in Ajax handlers. This property is uncacheable. Type: array|null File core/lib/Drupal/Core/Form/FormState.php, line 334 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code protected $triggering_element;

LoggerChannel::$requestStack

The request stack object. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Logger/LoggerChannel.php, line 72 Class LoggerChannel Defines a logger channel that most implementations will use. Namespace Drupal\Core\Logger Code protected $requestStack;

update_language_list

update_language_list($flags = LanguageInterface::STATE_CONFIGURABLE) Returns a list of languages set up on the site during upgrades. Parameters $flags: (optional) Specifies the state of the languages that have to be returned. It can be: LanguageInterface::STATE_CONFIGURABLE, LanguageInterface::STATE_LOCKED, or LanguageInterface::STATE_ALL. Return value \Drupal\Core\Language\LanguageInterface[] An associative array of languages, keyed by the language code, ordered by weight ascending and name

SwitchShortcutSet::create

public static SwitchShortcutSet::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The servic

SqlContentEntityStorageSchema::getDedicatedTableSchema

protected SqlContentEntityStorageSchema::getDedicatedTableSchema(FieldStorageDefinitionInterface $storage_definition, ContentEntityTypeInterface $entity_type = NULL) Gets the SQL schema for a dedicated table. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: (optional) The entity type definition. Defaults to the one returned by the entity manager. Return value array The

FilterFormatListBuilder::load

public FilterFormatListBuilder::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/filter/src/FilterFormatListBuilder.php, line 69 Class FilterFormatListBuilder Defines a class to build a listing of

FieldItemInterface::view

public FieldItemInterface::view($display_options = array()) Returns a renderable array for a single field item. Parameters array $display_options: Can be either the name of a view mode, or an array of display settings. See EntityViewBuilderInterface::viewField() for more information. Return value array A renderable array for the field item. See also \Drupal\Core\Entity\EntityViewBuilderInterface::viewField() \Drupal\Core\Entity\EntityViewBuilderInterface::viewFieldItem() \Drupal\Core\Field\F

BigPipe::sendPlaceholders

protected BigPipe::sendPlaceholders(array $placeholders, array $placeholder_order, AttachedAssetsInterface $cumulative_assets) Sends BigPipe placeholders' replacements as embedded AJAX responses. Parameters array $placeholders: Associative array; the BigPipe placeholders. Keys are the BigPipe placeholder IDs. array $placeholder_order: Indexed array; the order in which the BigPipe placeholders must be sent. Values are the BigPipe placeholder IDs. (These values correspond to keys in $placeholder