locale_translate_batch_finished

locale_translate_batch_finished($success, array $results) Implements callback_batch_finished(). Finished callback of system page locale import batch. Parameters bool $success: TRUE if batch successfully completed. array $results: Batch results. File core/modules/locale/locale.bulk.inc, line 364 Mass import-export and batch import functionality for Gettext .po files. Code function locale_translate_batch_finished($success, array $results) { $logger = \Drupal::logger('locale'); if ($success

Connection

SQLite implementation of \Drupal\Core\Database\Connection. Hierarchy class \Drupal\Core\Database\Connectionclass \Drupal\Core\Database\Driver\sqlite\Connection File core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php, line 12 Namespace Drupal\Core\Database\Driver\sqlite Members Name Modifiers Type Description Connection::$attachedDatabases protected property All databases attached to the current database. This is used to allow prefixes to be safely handled withou

StringTranslationTrait::formatPlural

protected StringTranslationTrait::formatPlural($count, $singular, $plural, array $args = array(), array $options = array()) Formats a string containing a count of items. See also \Drupal\Core\StringTranslation\TranslationInterface::formatPlural() File core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php, line 79 Class StringTranslationTrait Wrapper methods for \Drupal\Core\StringTranslation\TranslationInterface. Namespace Drupal\Core\StringTranslation Code protected funct

UpdateManagerUpdate::__construct

public UpdateManagerUpdate::__construct(ModuleHandlerInterface $module_handler, StateInterface $state) Constructs a new UpdateManagerUpdate object. Parameters \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. \Drupal\Core\State\StateInterface $state: The state service. File core/modules/update/src/Form/UpdateManagerUpdate.php, line 39 Class UpdateManagerUpdate Configure update settings for this site. Namespace Drupal\update\Form Code public function __

AccountInterface::getUsername

public AccountInterface::getUsername() Returns the unaltered login name of this account. Return value string An unsanitized plain-text string with the name of this account that is used to log in. Only display this name to admins and to the user who owns this account, and only in the context of the name used to log in. For any other display purposes, use \Drupal\Core\Session\AccountInterface::getDisplayName() instead. Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use \Drupa

QuickEditController::metadata

public QuickEditController::metadata(Request $request) Returns the metadata for a set of fields. Given a list of field quick edit IDs as POST parameters, run access checks on the entity and field level to determine whether the current user may edit them. Also retrieves other metadata. Return value \Symfony\Component\HttpFoundation\JsonResponse The JSON response. File core/modules/quickedit/src/QuickEditController.php, line 94 Class QuickEditController Returns responses for Quick Edit modu

ViewAjaxController::$storage

The entity storage for views. Type: \Drupal\Core\Entity\EntityStorageInterface File core/modules/views/src/Controller/ViewAjaxController.php, line 35 Class ViewAjaxController Defines a controller to load a view via AJAX. Namespace Drupal\views\Controller Code protected $storage;

locale_cache_flush

locale_cache_flush() Implements hook_cache_flush(). File core/modules/locale/locale.module, line 480 Enables the translation of the user interface to languages other than English. Code function locale_cache_flush() { \Drupal::state()->delete('system.javascript_parsed'); }

ViewsDisplay::$id

The plugin ID. Type: string File core/modules/views/src/Annotation/ViewsDisplay.php, line 21 Class ViewsDisplay Defines a Plugin annotation object for views display plugins. Namespace Drupal\views\Annotation Code public $id;

FieldException

Base class for all exceptions thrown by the Entity Field API functions. This class has no functionality of its own other than allowing all Entity Field API exceptions to be caught by a single catch block. Hierarchy class \Drupal\Core\Field\FieldException extends \RuntimeException File core/lib/Drupal/Core/Field/FieldException.php, line 11 Namespace Drupal\Core\Field Members