FieldStorageDefinitionListenerInterface

Defines an interface for reacting to field storage definition creation, deletion, and updates. Hierarchy interface \Drupal\Core\Field\FieldStorageDefinitionListenerInterface File core/lib/Drupal/Core/Field/FieldStorageDefinitionListenerInterface.php, line 8 Namespace Drupal\Core\Field Members Name Modifiers Type Description FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate public function Reacts to the creation of a field storage definition. Field

FieldStorageDefinitionEvents::DELETE

Name of the event triggered for field storage definition deletion. This event allows you to respond anytime a field storage definition is deleted. The event listener method receives a \Drupal\Core\Field\FieldStorageDefinitionEvent instance. See also \Drupal\Core\Field\FieldStorageDefinitionEvent \Drupal\Core\Entity\EntityManager::onFieldStorageDefinitionDelete() \Drupal\Core\Field\FieldStorageDefinitionEventSubscriberTrait Related topics Events Overview of event dispatch and subscribing File

RenderCache::maxAgeToExpire

protected RenderCache::maxAgeToExpire($max_age) Maps a #cache[max-age] value to an "expire" value for the Cache API. Parameters int $max_age: A #cache[max-age] value. Return value int A corresponding "expire" value. See also \Drupal\Core\Cache\CacheBackendInterface::set() File core/lib/Drupal/Core/Render/RenderCache.php, line 283 Class RenderCache Wraps the caching logic for the render caching system. Namespace Drupal\Core\Render Code protected function maxAgeToExpire($max_age) {

SystemManager::$menuTree

The menu link tree manager. Type: \Drupal\Core\Menu\MenuLinkTreeInterface File core/modules/system/src/SystemManager.php, line 37 Class SystemManager System Manager Service. Namespace Drupal\system Code protected $menuTree;

Action::isConfigurable

public Action::isConfigurable() Returns whether or not this action is configurable. Return value bool Overrides ActionConfigEntityInterface::isConfigurable File core/modules/system/src/Entity/Action.php, line 128 Class Action Defines the configured action entity. Namespace Drupal\system\Entity Code public function isConfigurable() { return $this->getPlugin() instanceof ConfigurablePluginInterface; }

DateTimePlus::arrayToISO

public static DateTimePlus::arrayToISO($array, $force_valid_date = FALSE) Creates an ISO date from an array of values. Parameters array $array: An array of date values keyed by date part. bool $force_valid_date: (optional) Whether to force a full date by filling in missing values. Defaults to FALSE. Return value string The date as an ISO string. File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 490 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime

FormState::setRedirect

public FormState::setRedirect($route_name, array $route_parameters = array(), array $options = array()) Sets the redirect for the form. Parameters string $route_name: The name of the route array $route_parameters: (optional) An associative array of parameter names and values. array $options: (optional) An associative array of additional options. See \Drupal\Core\Url for the available keys. Return value $this Overrides FormStateInterface::setRedirect See also \Drupal\Core\Form\FormSubmitterIn

ElementInfoManager::$themeManager

The theme manager. Type: \Drupal\Core\Theme\ThemeManagerInterface File core/lib/Drupal/Core/Render/ElementInfoManager.php, line 38 Class ElementInfoManager Provides a plugin manager for element plugins. Namespace Drupal\Core\Render Code protected $themeManager;

DateTimePlus::$inputTimeAdjusted

The prepared time, without timezone, for this date. File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 61 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected $inputTimeAdjusted = '';

LocalStream::stream_metadata

public LocalStream::stream_metadata($uri, $option, $value) Sets metadata on the stream. Parameters string $path: A string containing the URI to the file to set metadata on. int $option: One of: STREAM_META_TOUCH: The method was called in response to touch(). STREAM_META_OWNER_NAME: The method was called in response to chown() with string parameter. STREAM_META_OWNER: The method was called in response to chown(). STREAM_META_GROUP_NAME: The method was called in response to chgrp(). STREAM_