EntityInterface::postDelete

public static EntityInterface::postDelete(EntityStorageInterface $storage, array $entities) Acts on deleted entities before the delete hook is invoked. Used after the entities are deleted but before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. File core/lib/Drupal/Core/Entity/EntityInterface.php, line 378 Class EntityInterface Defines a common inte

Editor::$id

The plugin ID. Type: string File core/modules/editor/src/Annotation/Editor.php, line 60 Class Editor Defines an Editor annotation object. Namespace Drupal\editor\Annotation Code public $id;

FormattedDateDiff::__construct

public FormattedDateDiff::__construct($string, $max_age) Creates a new FormattedDateDiff instance. Parameters string $string: The formatted time difference. int $max_age: The maximum time in seconds that this string may be cached. File core/lib/Drupal/Core/Datetime/FormattedDateDiff.php, line 41 Class FormattedDateDiff Contains a formatted time difference. Namespace Drupal\Core\Datetime Code public function __construct($string, $max_age) { $this->string = $string; $this->max

drupal_installation_attempted

drupal_installation_attempted() Returns TRUE if a Drupal installation is currently being attempted. File core/includes/bootstrap.inc, line 712 Functions that need to be loaded on every Drupal request. Code function drupal_installation_attempted() { // This cannot rely on the MAINTENANCE_MODE constant, since that would prevent // tests from using the non-interactive installer, in which case Drupal // only happens to be installed within the same request, but subsequently // executed cod

ContextualLinksPlaceholder::getInfo

public ContextualLinksPlaceholder::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/modules/contextual/src/Element/ContextualLinksPlaceholder.php, line 19 Class ContextualLinksPlaceholder Provides a contextual_links_placeholder elem

user.module

Enables the user registration and login system. File core/modules/user/user.module Functions Name Description template_preprocess_user Prepares variables for user templates. template_preprocess_username Prepares variables for username templates. user_cancel Cancel a user account. user_cancel_methods Helper function to return available account cancellation methods. user_cancel_url Generates a URL to confirm an account cancellation request. user_cookie_delete Delete

locale_cron

locale_cron() Implements hook_cron(). See also \Drupal\locale\Plugin\QueueWorker\LocaleTranslation File core/modules/locale/locale.module, line 353 Enables the translation of the user interface to languages other than English. Code function locale_cron() { // Update translations only when an update frequency was set by the admin // and a translatable language was set. // Update tasks are added to the queue here but processed by Drupal's cron. if ($frequency = \Drupal::config('locale.

StringStorageInterface::deleteTranslations

public StringStorageInterface::deleteTranslations($conditions) Deletes translations using conditions. Parameters array $conditions: Array with simple field conditions for string translations. File core/modules/locale/src/StringStorageInterface.php, line 140 Class StringStorageInterface Defines the locale string storage interface. Namespace Drupal\locale Code public function deleteTranslations($conditions);

EntityTypeInterface::getCountLabel

public EntityTypeInterface::getCountLabel($count) Gets the count label of the entity type Parameters int $count: The item count to display if the plural form was requested. Return value string The count label. File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 655 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getCountLabel($count);

SessionHandler::write

public SessionHandler::write($sid, $value) Writes the session data to the storage. Care, the session ID passed to write() can be different from the one previously received in read() when the session ID changed due to session_regenerate_id(). Parameters string $sessionId Session ID , see http://php.net/function.session-id: string $data Serialized session data to save: Return value bool true on success, false on failure Overrides SessionHandlerInterface::write See also http://php.net/sessionha