Datetime::$dateExample

Type: \DateTimeInterface File core/lib/Drupal/Core/Datetime/Element/Datetime.php, line 20 Class Datetime Provides a datetime element. Namespace Drupal\Core\Datetime\Element Code protected static $dateExample;

Cron::$lock

The lock service. Type: \Drupal\Core\Lock\LockBackendInterface File core/lib/Drupal/Core/Cron.php, line 34 Class Cron The Drupal core Cron service. Namespace Drupal\Core Code protected $lock;

EntityType::$base_table

The name of the entity type's base table. Type: string|null File core/lib/Drupal/Core/Entity/EntityType.php, line 147 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $base_table = NULL;

ModuleHandler::$includeFileKeys

A list of module include file keys. Type: array File core/lib/Drupal/Core/Extension/ModuleHandler.php, line 92 Class ModuleHandler Class that manages modules in a Drupal installation. Namespace Drupal\Core\Extension Code protected $includeFileKeys = [];

Schema::indexExists

abstract public Schema::indexExists($table, $name) Checks if an index exists in the given table. Parameters $table: The name of the table in drupal (no prefixing). $name: The name of the index in drupal (no prefixing). Return value TRUE if the given index exists, otherwise FALSE. File core/lib/Drupal/Core/Database/Schema.php, line 378 Class Schema Provides a base implementation for Database Schema. Namespace Drupal\Core\Database Code abstract public function indexExists($table, $name

CacheBackendInterface::invalidate

public CacheBackendInterface::invalidate($cid) Marks a cache item as invalid. Invalid items may be returned in later calls to get(), if the $allow_invalid argument is TRUE. Parameters string $cid: The cache ID to invalidate. See also \Drupal\Core\Cache\CacheBackendInterface::delete() \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() \Drupal\Core\Cache\CacheBackendInterface::invalidateAll() File core/lib/Drupal/Core/Cache/CacheBackendInterface.php, line 178 Class CacheBackendI

Cron::invokeCronHandlers

protected Cron::invokeCronHandlers() Invokes any cron handlers implementing hook_cron. File core/lib/Drupal/Core/Cron.php, line 196 Class Cron The Drupal core Cron service. Namespace Drupal\Core Code protected function invokeCronHandlers() { $module_previous = ''; // Iterate through the modules calling their cron handlers (if any): foreach ($this->moduleHandler->getImplementations('cron') as $module) { if (!$module_previous) { $this->logger->notice('Starti

ContentModerationState::getOwner

public ContentModerationState::getOwner() Returns the entity owner's user entity. Return value \Drupal\user\UserInterface The owner user entity. Overrides EntityOwnerInterface::getOwner File core/modules/content_moderation/src/Entity/ContentModerationState.php, line 95 Class ContentModerationState Defines the Content moderation state entity. Namespace Drupal\content_moderation\Entity Code public function getOwner() { return $this->get('uid')->entity; }

YamlSymfony

Default serialization for YAML using the Symfony component. Hierarchy class \Drupal\Component\Serialization\YamlSymfony implements SerializationInterface File core/lib/Drupal/Component/Serialization/YamlSymfony.php, line 12 Namespace Drupal\Component\Serialization Members Name Modifiers Type Description YamlSymfony::decode public static function Decodes data from the serialization format. Overrides SerializationInterface::decode YamlSymfony::encode public static fu

File::processFile

public static File::processFile(&$element, FormStateInterface $form_state, &$complete_form) Processes a file upload element, make use of #multiple if present. File core/lib/Drupal/Core/Render/Element/File.php, line 45 Class File Provides a form element for uploading a file. Namespace Drupal\Core\Render\Element Code public static function processFile(&$element, FormStateInterface $form_state, &$complete_form) { if ($element['#multiple']) { $element['#attributes'] =