_user_role_permissions_update

_user_role_permissions_update($roles) Determine the permissions for one or more roles during update. A separate version is needed because during update the entity system can't be used and in non-update situations the entity system is preferred because of the hook system. Parameters array $roles: An array of role IDs. Return value array An array indexed by role ID. Each value is an array of permission strings for the given role. File core/modules/user/user.module, line 345 Enables the user reg

TransliterationInterface::removeDiacritics

public TransliterationInterface::removeDiacritics($string) Removes diacritics (accents) from certain letters. This only applies to certain letters: Accented Latin characters like a-with-acute-accent, in the UTF-8 character range of 0xE0 to 0xE6 and 01CD to 024F. Replacements that would result in the string changing length are excluded, as well as characters that are not accented US-ASCII letters. Parameters string $string: The string holding diacritics. Return value string $string with accent

Number::alphadecimalToInt

public static Number::alphadecimalToInt($string = '00') Decodes a sorting code back to an integer. Parameters string $string: The alpha decimal value to convert Return value int The integer value. See also \Drupal\Component\Utility\Number::intToAlphadecimal File core/lib/Drupal/Component/Utility/Number.php, line 97 Class Number Provides helper methods for manipulating numbers. Namespace Drupal\Component\Utility Code public static function alphadecimalToInt($string = '00') { return

Cron::$accountSwitcher

The account switcher service. Type: \Drupal\Core\Session\AccountSwitcherInterface File core/lib/Drupal/Core/Cron.php, line 55 Class Cron The Drupal core Cron service. Namespace Drupal\Core Code protected $accountSwitcher;

FileStorage::htaccessLines

public static FileStorage::htaccessLines($private = TRUE) Returns the standard .htaccess lines that Drupal writes to file directories. Parameters bool $private: (optional) Set to FALSE to return the .htaccess lines for an open and public directory. The default is TRUE, which returns the .htaccess lines for a private and protected directory. Return value string The desired contents of the .htaccess file. See also file_create_htaccess() File core/lib/Drupal/Component/PhpStorage/FileStorage.php

EntityManagerInterface::getLastInstalledFieldStorageDefinitions

public EntityManagerInterface::getLastInstalledFieldStorageDefinitions($entity_type_id) Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. See also \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::getLastInstalledFieldStorageDefinitions() File core/lib/Drupal/Core/Entity/EntityManagerInterface.php, line 27 Class EntityManagerInterface Provides an interface for entity type managers. Namespace Drupal\Core\Entity Code public function getLastInstalledFiel

FormState::hasTemporaryValue

public FormState::hasTemporaryValue($key) Determines if a temporary value is present. Parameters string $key: Properties are often stored as multi-dimensional associative arrays. If $key is a string, it will return isset($temporary[$key]). If $key is an array, each element of the array will be used as a nested key. If $key = ['foo', 'bar'] it will return isset($temporary['foo']['bar']). Overrides FormStateInterface::hasTemporaryValue File core/lib/Drupal/Core/Form/FormState.php, line 803 Cl

SqlContentEntityStorageSchema::getEntitySchemaData

protected SqlContentEntityStorageSchema::getEntitySchemaData(ContentEntityTypeInterface $entity_type, array $schema) Gets entity schema definitions for index and key definitions. Parameters \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type definition. array $schema: The entity schema array. Return value array A stripped down version of the $schema Schema API array containing, for each table, only the key and index definitions not derived from field storage definitio

WordLevelDiff::MAX_LINE_LENGTH

File core/lib/Drupal/Component/Diff/WordLevelDiff.php, line 15 Class WordLevelDiff @todo document @private @subpackage DifferenceEngine Namespace Drupal\Component\Diff Code const MAX_LINE_LENGTH = 10000;

InsertCommand::$settings

A settings array to be passed to any attached JavaScript behavior. Type: array File core/lib/Drupal/Core/Ajax/InsertCommand.php, line 45 Class InsertCommand Generic AJAX command for inserting content. Namespace Drupal\Core\Ajax Code protected $settings;