_editor_record_file_usage

_editor_record_file_usage(array $uuids, EntityInterface $entity) Records file usage of files referenced by formatted text fields. Every referenced file that does not yet have the FILE_STATUS_PERMANENT state, will be given that state. Parameters array $uuids: An array of file entity UUIDs. EntityInterface $entity: An entity whose fields to inspect for file references. File core/modules/editor/editor.module, line 437 Adds bindings for client-side "text editors" to text formats. Code function _

ChainedFastBackend::getMultiple

public ChainedFastBackend::getMultiple(&$cids, $allow_invalid = FALSE) Returns data from the persistent cache when given an array of cache IDs. Parameters array $cids: An array of cache IDs for the data to retrieve. This is passed by reference, and will have the IDs successfully returned from cache removed. bool $allow_invalid: (optional) If TRUE, cache items may be returned even if they have expired or been invalidated. Such items may sometimes be preferred, if the alternative is recalcul

FormattedDateDiff

Contains a formatted time difference. Hierarchy class \Drupal\Core\Datetime\FormattedDateDiff implements CacheableDependencyInterface, RenderableInterface uses UnchangingCacheableDependencyTrait File core/lib/Drupal/Core/Datetime/FormattedDateDiff.php, line 12 Namespace Drupal\Core\Datetime Members Name Modifiers Type Description FormattedDateDiff::$maxAge protected property The maximum time in seconds that this string may be cached. FormattedDateDiff::$string protec

Log::clear

public Log::clear($logging_key) Empty the query log for the specified logging key. This method does not stop logging, it simply clears the log. To stop logging, use the end() method. Parameters $logging_key: The logging key to empty. File core/lib/Drupal/Core/Database/Log.php, line 88 Class Log Database query logger. Namespace Drupal\Core\Database Code public function clear($logging_key) { $this->queryLog[$logging_key] = array(); }

CurrentPathStack::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Path/CurrentPathStack.php, line 27 Class CurrentPathStack Represents the current path for the current request. Namespace Drupal\Core\Path Code protected $requestStack;

hook_editor_info_alter

hook_editor_info_alter(array &$editors) Performs alterations on text editor definitions. Parameters array $editors: An array of metadata of text editors, as collected by the plugin annotation discovery mechanism. See also \Drupal\editor\Plugin\EditorBase Related topics Hooks Define functions that alter the behavior of Drupal core. File core/modules/editor/editor.api.php, line 24 Documentation for Text Editor API. Code function hook_editor_info_alter(array &$editors) { $editors['

Language::$id

The ID, langcode. Type: string File core/lib/Drupal/Core/Language/Language.php, line 41 Class Language An object containing the information for an interface language. Namespace Drupal\Core\Language Code protected $id = '';

FieldStorageConfigStorage::loadByProperties

public FieldStorageConfigStorage::loadByProperties(array $conditions = array()) Load entities by their property values. Parameters array $values: An associative array where the keys are the property names and the values are the values those properties must have. Return value \Drupal\Core\Entity\EntityInterface[] An array of entity objects indexed by their ids. Overrides EntityStorageBase::loadByProperties File core/modules/field/src/FieldStorageConfigStorage.php, line 97 Class FieldStorag

ImageInterface::getToolkitId

public ImageInterface::getToolkitId() Returns the ID of the image toolkit used for this image file. Return value string The ID of the image toolkit. File core/lib/Drupal/Core/Image/ImageInterface.php, line 74 Class ImageInterface Provides an interface for image objects. Namespace Drupal\Core\Image Code public function getToolkitId();

VariantBase::label

public VariantBase::label() Returns the user-facing display variant label. Return value string The display variant label. Overrides VariantInterface::label File core/lib/Drupal/Core/Display/VariantBase.php, line 36 Class VariantBase Provides a base class for DisplayVariant plugins. Namespace Drupal\Core\Display Code public function label() { return $this->configuration['label']; }