UserStorage::updateLastAccessTimestamp

public UserStorage::updateLastAccessTimestamp(AccountInterface $account, $timestamp) Update the last access timestamp of the user. Parameters \Drupal\Core\Session\AccountInterface $account: The user object. int $timestamp: The last access timestamp. Overrides UserStorageInterface::updateLastAccessTimestamp File core/modules/user/src/UserStorage.php, line 53 Class UserStorage Controller class for users. Namespace Drupal\user Code public function updateLastAccessTimestamp(AccountInterfa

ExtendableInterface::extend

public ExtendableInterface::extend($extender_name) Enhance this object by wrapping it in an extender object. Parameters $extender_name: The fully-qualified name of the extender class, without the leading '\' (for example, Drupal\my_module\myExtenderClass). The extender name will be checked against the current database connection to allow driver-specific subclasses as well, using the same logic as the query objects themselves. Return value \Drupal\Core\Database\Query\ExtendableInterface The ex

InstallStorage::$folders

Folder map indexed by configuration name. Type: array File core/lib/Drupal/Core/Config/InstallStorage.php, line 41 Class InstallStorage Storage used by the Drupal installer. Namespace Drupal\Core\Config Code protected $folders;

UserData::get

public UserData::get($module, $uid = NULL, $name = NULL) Returns data stored for a user account. Parameters string $module: The name of the module the data is associated with. int $uid: (optional) The user account ID the data is associated with. string $name: (optional) The name of the data key. Return value mixed|array The requested user account data, depending on the arguments passed: For $module, $name, and $uid, the stored value is returned, or NULL if no value was found. For $module and

AccountForm::getEditedFieldNames

protected AccountForm::getEditedFieldNames(FormStateInterface $form_state) Gets the names of all fields edited in the form. If the entity form customly adds some fields to the form (i.e. without using the form display), it needs to add its fields here and override flagViolations() for displaying the violations. Parameters \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value string[] An array of field names. Overrides ContentEntityForm::getEditedFieldNa

ReverseProxyMiddleware

Provides support for reverse proxies. Hierarchy class \Drupal\Core\StackMiddleware\ReverseProxyMiddleware implements HttpKernelInterface File core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php, line 12 Namespace Drupal\Core\StackMiddleware Members Name Modifiers Type Description HttpKernelInterface::MASTER_REQUEST constant HttpKernelInterface::SUB_REQUEST constant ReverseProxyMiddleware::$httpKernel protected property The decorated kernel.

UserStorageSchema

Defines the user schema handler. Hierarchy class \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema implements DynamicallyFieldableEntityStorageSchemaInterface uses DependencySerializationTraitclass \Drupal\user\UserStorageSchema File core/modules/user/src/UserStorageSchema.php, line 12 Namespace Drupal\user Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for ser

InvalidQueryException

Exception thrown if a query would be invalid. This exception is thrown e.g. when trying to have an IN condition with an empty array. Hierarchy class \Drupal\Core\Database\InvalidQueryException extends \InvalidArgumentException implements DatabaseException File core/lib/Drupal/Core/Database/InvalidQueryException.php, line 11 Namespace Drupal\Core\Database Members

_filter_html_escape

_filter_html_escape($text) Escapes all HTML tags, so they will be visible instead of being effective. Related topics Standard filters Filters implemented by the Filter module. File core/modules/filter/filter.module, line 758 Framework for handling the filtering of content. Code function _filter_html_escape($text) { return trim(Html::escape($text)); }

PathRootsSubscriber::getSubscribedEvents

public static PathRootsSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority))