EntityListBuilderInterface::load

public EntityListBuilderInterface::load() Loads entities of this type from storage for listing. This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface. File core/lib/Drupal/Core/Entity/EntityListBuilderInterface.php, line 27 Class EntityListBuilderInterface Defines an interface to build entity listings. Namespace Drup

_drupal_shutdown_function_handle_exception

_drupal_shutdown_function_handle_exception($exception) Displays and logs any errors that may happen during shutdown. Parameters \Exception|\Throwable $exception: The exception object that was thrown. See also _drupal_shutdown_function() File core/includes/bootstrap.inc, line 1009 Functions that need to be loaded on every Drupal request. Code function _drupal_shutdown_function_handle_exception($exception) { // If using PHP-FPM then fastcgi_finish_request() will have been fired // prevent

user_delete_multiple

user_delete_multiple(array $uids) Delete multiple user accounts. Parameters int[] $uids: An array of user IDs. See also hook_ENTITY_TYPE_predelete() hook_ENTITY_TYPE_delete() File core/modules/user/user.module, line 857 Enables the user registration and login system. Code function user_delete_multiple(array $uids) { entity_delete_multiple('user', $uids); }

QueryInterface::range

public QueryInterface::range($start = NULL, $length = NULL) Parameters null $start: null $length: Return value \Drupal\Core\Entity\Query\QueryInterface The called object. File core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 141 Class QueryInterface Interface for entity queries. Namespace Drupal\Core\Entity\Query Code public function range($start = NULL, $length = NULL);

RfcLoggerTrait::info

public RfcLoggerTrait::info($message, array $context = array()) Interesting events. Example: User logs in, SQL logs. Parameters string $message: array $context: Return value null Overrides LoggerInterface::info File core/lib/Drupal/Core/Logger/RfcLoggerTrait.php, line 62 Class RfcLoggerTrait A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels. Namespace Drupal\Core\Logger Code public function info($message, array $context = array()) { $this->log(RfcLogLevel::I

RdfMappingInterface::setFieldMapping

public RdfMappingInterface::setFieldMapping($field_name, array $mapping = array()) Sets the mapping config for a field. Parameters string $field_name: The name of the field. array $mapping: The field mapping. Return value \Drupal\rdf\Entity\RdfMapping The RdfMapping object. File core/modules/rdf/src/RdfMappingInterface.php, line 105 Class RdfMappingInterface Provides an interface defining an RDF mapping entity. Namespace Drupal\rdf Code public function setFieldMapping($field_name, ar

JsCollectionOptimizer

Optimizes JavaScript assets. Hierarchy class \Drupal\Core\Asset\JsCollectionOptimizer implements AssetCollectionOptimizerInterface File core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php, line 11 Namespace Drupal\Core\Asset Members Name Modifiers Type Description JsCollectionOptimizer::$dumper protected property An asset dumper. JsCollectionOptimizer::$grouper protected property A JS asset grouper. JsCollectionOptimizer::$optimizer protected property A

PhpBackend::normalizeCid

protected PhpBackend::normalizeCid($cid) Ensures a normalized cache ID. Parameters string $cid: The passed in cache ID. Return value string A normalized cache ID. File core/lib/Drupal/Core/Cache/PhpBackend.php, line 267 Class PhpBackend Defines a PHP cache implementation. Namespace Drupal\Core\Cache Code protected function normalizeCid($cid) { return Crypt::hashBase64($cid); }

DateFormatter::__construct

public DateFormatter::__construct(EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, TranslationInterface $translation, ConfigFactoryInterface $config_factory, RequestStack $request_stack) Constructs a Date object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager. \Drupal\Core\StringTranslation\TranslationInterface $translation: The s

ConfigImportSubscriber::validateThemes

protected ConfigImportSubscriber::validateThemes(ConfigImporter $config_importer) Validates theme installations and uninstallations. Parameters \Drupal\Core\Config\ConfigImporter $config_importer: The configuration importer. File core/lib/Drupal/Core/EventSubscriber/ConfigImportSubscriber.php, line 144 Class ConfigImportSubscriber Config import subscriber for config import events. Namespace Drupal\Core\EventSubscriber Code protected function validateThemes(ConfigImporter $config_impor