locale_translation_build_projects

locale_translation_build_projects() Builds list of projects and stores the result in the database. The project data is based on the project list supplied by the Update module. Only the properties required by Locale module is included and additional (custom) modules and translation server data is added. In case the Update module is disabled this function will return an empty array. Return value array Array of project data: "name": Project system name. "project_type": Project type, e.g. 'modul

hook_views_data

hook_views_data() Describe data tables and fields (or the equivalent) to Views. The table and fields are processed in Views using various plugins. See the Views plugins topic for more information. To provide views data for an entity, instead of implementing this hook, create a class implementing \Drupal\views\EntityViewsDataInterface and reference this in the "views" annotation in the entity class. The return value of the getViewsData() method on the interface is the same as this hook, and base

FieldType::$default_widget

The plugin_id of the default widget for this field type. This widget must be available whenever the field type is available (i.e. provided by the field type module, or by a module the field type module depends on). Type: string File core/lib/Drupal/Core/Field/Annotation/FieldType.php, line 69 Class FieldType Defines a FieldType annotation object. Namespace Drupal\Core\Field\Annotation Code public $default_widget;

UpdateReady::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/update/src/Form/UpdateReady.php, line 31 Class UpdateReady Configure update settings for this site. Namespace Drupal\update\Form Code protected $moduleHandler;

KeyValueEntityStorage::MAX_ID_LENGTH

Length limit of the entity ID. File core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php, line 29 Class KeyValueEntityStorage Provides a key value backend for entities. Namespace Drupal\Core\Entity\KeyValueStore Code const MAX_ID_LENGTH = 128;

SelectInterface::fields

public SelectInterface::fields($table_alias, array $fields = array()) Add multiple fields from the same table to be SELECTed. This method does not return the aliases set for the passed fields. In the majority of cases that is not a problem, as the alias will be the field name. However, if you do need to know the alias you can call getFields() and examine the result to determine what alias was created. Alternatively, simply use addField() for the few fields you care about and this method for the

DependencySerializationTrait

Provides dependency injection friendly methods for serialization. Hierarchy trait \Drupal\Core\DependencyInjection\DependencySerializationTrait File core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php, line 10 Namespace Drupal\Core\DependencyInjection Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization. DependencySerializationTra

ConfigSingleImportForm::$configExists

If the config exists, this is that object. Otherwise, FALSE. Type: \Drupal\Core\Config\Config|\Drupal\Core\Config\Entity\ConfigEntityInterface|bool File core/modules/config/src/Form/ConfigSingleImportForm.php, line 106 Class ConfigSingleImportForm Provides a form for importing a single configuration file. Namespace Drupal\config\Form Code protected $configExists = FALSE;

UpdateReady::$root

The root location under which updated projects will be saved. Type: string File core/modules/update/src/Form/UpdateReady.php, line 24 Class UpdateReady Configure update settings for this site. Namespace Drupal\update\Form Code protected $root;

ConfigSync::processBatch

public static ConfigSync::processBatch(ConfigImporter $config_importer, $sync_step, &$context) Processes the config import batch and persists the importer. Parameters \Drupal\Core\Config\ConfigImporter $config_importer: The batch config importer object to persist. string $sync_step: The synchronization step to do. array $context: The batch context. File core/modules/config/src/Form/ConfigSync.php, line 371 Class ConfigSync Construct the storage changes in a configuration synchronizati