Log::get

public Log::get($logging_key) Retrieve the query log for the specified logging key so far. Parameters $logging_key: The logging key to fetch. Return value An indexed array of all query records for this logging key. File core/lib/Drupal/Core/Database/Log.php, line 75 Class Log Database query logger. Namespace Drupal\Core\Database Code public function get($logging_key) { return $this->queryLog[$logging_key]; }

LocaleTranslation::getStringTranslation

public LocaleTranslation::getStringTranslation($langcode, $string, $context) Retrieves English string to given language. Parameters string $langcode: Language code to translate to. string $string: The source string. string $context: The string context. Return value string|false Translated string if there is a translation, FALSE if not. Overrides TranslatorInterface::getStringTranslation File core/modules/locale/src/LocaleTranslation.php, line 108 Class LocaleTranslation String translator

FieldStorageDefinitionInterface::isQueryable

public FieldStorageDefinitionInterface::isQueryable() Determines whether the field is queryable via QueryInterface. Return value bool TRUE if the field is queryable. File core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php, line 113 Class FieldStorageDefinitionInterface Defines an interface for entity field storage definitions. Namespace Drupal\Core\Field Code public function isQueryable();

UPDATE_NOT_FETCHED

There was a failure fetching available update data for this project. File core/modules/update/update.module, line 59 Handles updates of Drupal core and contributed projects. Code const UPDATE_NOT_FETCHED = -3;

AdminController::adminPage

public AdminController::adminPage(Request $request, $type = 'new') Presents an administrative comment listing. Parameters \Symfony\Component\HttpFoundation\Request $request: The request of the page. string $type: The type of the overview form ('approval' or 'new') default to 'new'. Return value array Then comment multiple delete confirmation form or the comments overview administration form. File core/modules/comment/src/Controller/AdminController.php, line 53 Class AdminController Retur

DiffFormatter::_context

protected DiffFormatter::_context($lines) Overrides DiffFormatter::_context File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 186 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _context($lines) { foreach ($lines as $line) { $this->rows[] = array_merge($this->contextLine(Html::escape($line)), $this->contextLine(Html::escape($line))); } }

FieldStorageDefinitionListener::__construct

public FieldStorageDefinitionListener::__construct(EntityTypeManagerInterface $entity_type_manager, EventDispatcherInterface $event_dispatcher, EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository, EntityFieldManagerInterface $entity_field_manager) Constructs a new FieldStorageDefinitionListener. Parameters \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager. \Symfony\Component\EventDispatcher\EventDispatcherInterface $e

hook_requirements

hook_requirements($phase) Check installation requirements and do status reporting. This hook has three closely related uses, determined by the $phase argument: Checking installation requirements ($phase == 'install'). Checking update requirements ($phase == 'update'). Status reporting ($phase == 'runtime'). Note that this hook, like all others dealing with installation and updates, must reside in a module_name.install file, or it will not properly abort the installation of the module if a cri

ConfigDependencies::onDependencyRemovalForMethodGranularity

protected ConfigDependencies::onDependencyRemovalForMethodGranularity(RestResourceConfigInterface $rest_config, array $dependencies) Informs the entity that entities it depends on will be deleted. Parameters \Drupal\rest\RestResourceConfigInterface $rest_config: The rest configuration. array $dependencies: An array of dependencies that will be deleted keyed by dependency type. Dependency types are, for example, entity, module and theme. Return value bool TRUE if the entity has been changed as

FieldStorageConfig::NAME_MAX_LENGTH

The maximum length of the field name, in characters. For fields created through Field UI, this includes the 'field_' prefix. File core/modules/field/src/Entity/FieldStorageConfig.php, line 51 Class FieldStorageConfig Defines the Field storage configuration entity. Namespace Drupal\field\Entity Code const NAME_MAX_LENGTH = 32;