VariantBase::setConfiguration

public VariantBase::setConfiguration(array $configuration) Sets the configuration for this plugin instance. Parameters array $configuration: An associative array containing the plugin's configuration. Overrides ConfigurablePluginInterface::setConfiguration File core/lib/Drupal/Core/Display/VariantBase.php, line 80 Class VariantBase Provides a base class for DisplayVariant plugins. Namespace Drupal\Core\Display Code public function setConfiguration(array $configuration) { $this->c

Transaction

PostgreSQL implementation of \Drupal\Core\Database\Transaction. Hierarchy class \Drupal\Core\Database\Transactionclass \Drupal\Core\Database\Driver\pgsql\Transaction File core/lib/Drupal/Core/Database/Driver/pgsql/Transaction.php, line 10 Namespace Drupal\Core\Database\Driver\pgsql Members Name Modifiers Type Description Transaction::$connection protected property The connection object for this transaction. Transaction::$name protected property The name of the t

Datetime::getHtml5DateFormat

protected static Datetime::getHtml5DateFormat($element) Retrieves the right format for a HTML5 date element. The format is important because these elements will not work with any other format. Parameters string $element: The $element to assess. Return value string Returns the right format for the date element, or the original format if this is not a HTML5 element. File core/lib/Drupal/Core/Datetime/Element/Datetime.php, line 392 Class Datetime Provides a datetime element. Namespace Dr

ContentEntityStorageBase::purgeFieldData

public ContentEntityStorageBase::purgeFieldData(FieldDefinitionInterface $field_definition, $batch_size) Purges a batch of field data. Parameters \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The deleted field whose data is being purged. $batch_size: The maximum number of field data records to purge before returning, relating to the count of field data records returned by \Drupal\Core\Entity\FieldableEntityStorageInterface::countFieldData(). Return value int The number of fie

LinkGeneratorTrait::l

protected LinkGeneratorTrait::l($text, Url $url) Renders a link to a route given a route name and its parameters. For details on the arguments, usage, and possible exceptions see \Drupal\Core\Utility\LinkGeneratorInterface::generate(). Return value \Drupal\Core\GeneratedLink A GeneratedLink object containing a link to the given route and parameters and bubbleable metadata. Deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\Link instead. See also \Drupal\Co

EntityDisplayModeInterface::setTargetType

public EntityDisplayModeInterface::setTargetType($target_entity_type) Set the entity type this display mode is used for. Parameters string $target_entity_type: The target entity type for this display mode. Return value $this File core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php, line 28 Class EntityDisplayModeInterface Provides an interface for entity types that hold form and view mode settings. Namespace Drupal\Core\Entity Code public function setTargetType($target_entity_

DiffFormatter

Diff formatter which uses returns output that can be rendered to a table. Hierarchy class \Drupal\Component\Diff\DiffFormatterclass \Drupal\Core\Diff\DiffFormatter File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 13 Namespace Drupal\Core\Diff Members Name Modifiers Type Description DiffFormatter::$leading_context_lines public property Number of leading context "lines" to preserve. DiffFormatter::$line_stats protected property The line stats. DiffFormatte

UpdateProcessorInterface::numberOfQueueItems

public UpdateProcessorInterface::numberOfQueueItems() Retrieves the number of items in the update fetch queue. Return value int An integer estimate of the number of items in the queue. See also \Drupal\Core\Queue\QueueInterface::numberOfItems() File core/modules/update/src/UpdateProcessorInterface.php, line 70 Class UpdateProcessorInterface Processor of project update information. Namespace Drupal\update Code public function numberOfQueueItems();

ConfigNamesMapper::getBaseRouteParameters

public ConfigNamesMapper::getBaseRouteParameters() Returns the route parameters for the base route the mapper is attached to. Return value array Overrides ConfigMapperInterface::getBaseRouteParameters File core/modules/config_translation/src/ConfigNamesMapper.php, line 182 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getBaseRouteParameters() { return array(); }

Drupal::entityDefinitionUpdateManager

public static Drupal::entityDefinitionUpdateManager() Returns the entity definition update manager. Return value \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface The entity definition update manager. File core/lib/Drupal.php, line 720 Contains \Drupal. Class Drupal Static Service Container wrapper. Code public static function entityDefinitionUpdateManager() { return static::getContainer()->get('entity.definition_update_manager'); }