ChainedFastBackend::markAsOutdated

protected ChainedFastBackend::markAsOutdated() Marks the fast cache bin as outdated because of a write. File core/lib/Drupal/Core/Cache/ChainedFastBackend.php, line 295 Class ChainedFastBackend Defines a backend with a fast and a consistent backend chain. Namespace Drupal\Core\Cache Code protected function markAsOutdated() { // Clocks on a single server can drift. Multiple servers may have slightly // differing opinions about the current time. Given that, do not assume // 'now' o

LinkManager::$relationLinkManager

The relation link manager. Type: \Drupal\rest\LinkManager\RelationLinkManagerInterface File core/modules/rest/src/LinkManager/LinkManager.php, line 19 Class LinkManager Namespace Drupal\rest\LinkManager Code protected $relationLinkManager;

LocalActionInterface

Defines an interface for menu local actions. Hierarchy interface \Drupal\Core\Menu\LocalActionInterface File core/lib/Drupal/Core/Menu/LocalActionInterface.php, line 10 Namespace Drupal\Core\Menu Members Name Modifiers Type Description LocalActionInterface::getOptions public function Returns options for rendering a link for the local action. LocalActionInterface::getRouteName public function Get the route name from the settings. LocalActionInterface::getRoutePa

DatabaseBackendFactory::get

DatabaseBackendFactory::get($bin) Gets DatabaseBackend for the specified cache bin. Parameters $bin: The cache bin for which the object is created. Return value \Drupal\Core\Cache\DatabaseBackend The cache backend object for the specified cache bin. Overrides CacheFactoryInterface::get File core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php, line 45 Class DatabaseBackendFactory Namespace Drupal\Core\Cache Code function get($bin) { return new DatabaseBackend($this->connection

FieldConfig::urlRouteParameters

protected FieldConfig::urlRouteParameters($rel) Gets an array of placeholders for this entity. Individual entity classes may override this method to add additional placeholders if desired. If so, they should be sure to replicate the property caching logic. Parameters string $rel: The link relationship type, for example: canonical or edit-form. Return value array An array of URI placeholders. Overrides Entity::urlRouteParameters File core/modules/field/src/Entity/FieldConfig.php, line 264 C

EntityListBuilder::getEntityIds

protected EntityListBuilder::getEntityIds() Loads entity IDs using a pager sorted by the entity id. Return value array An array of entity IDs. File core/lib/Drupal/Core/Entity/EntityListBuilder.php, line 90 Class EntityListBuilder Defines a generic implementation to build a listing of entities. Namespace Drupal\Core\Entity Code protected function getEntityIds() { $query = $this->getStorage()->getQuery() ->sort($this->entityType->getKey('id')); // Only add the p

update_mail

update_mail($key, &$message, $params) Implements hook_mail(). Constructs the email notification message when the site is out of date. Parameters $key: Unique key to indicate what message to build, always 'status_notify'. $message: Reference to the message array being built. $params: Array of parameters to indicate what kind of text to include in the message body. This is a keyed array of message type ('core' or 'contrib') as the keys, and the status reason constant (UPDATE_NOT_SECURE, etc)

file_destination

file_destination($destination, $replace) Determines the destination path for a file. Parameters $destination: A string specifying the desired final URI or filepath. $replace: Replace behavior when the destination file already exists. FILE_EXISTS_REPLACE - Replace the existing file. FILE_EXISTS_RENAME - Append _{incrementing number} until the filename is unique. FILE_EXISTS_ERROR - Do nothing and return FALSE. Return value The destination filepath, or FALSE if the file already exists and

PhpArrayDumper::supportsMachineFormat

protected PhpArrayDumper::supportsMachineFormat() Whether this supports the machine-optimized format or not. Return value bool TRUE if this supports machine-optimized format, FALSE otherwise. Overrides OptimizedPhpArrayDumper::supportsMachineFormat File core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php, line 68 Class PhpArrayDumper PhpArrayDumper dumps a service container as a PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code protected functio

Schema::processField

protected Schema::processField($field) Set database-engine specific properties for a field. Parameters $field: A field description array, as specified in the schema documentation. File core/lib/Drupal/Core/Database/Driver/mysql/Schema.php, line 206 Class Schema MySQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\mysql Code protected function processField($field) { if (!isset($field['size'])) { $field['size'] = 'normal'; } // Set the