Schema::$maxIdentifierLength

The maximum allowed length for index, primary key and constraint names. Value will usually be set to a 63 chars limit but PostgreSQL allows to higher this value before compiling, so we need to check for that. Type: int File core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 39 Class Schema PostgreSQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\pgsql Code protected $maxIdentifierLength;

LibraryDiscovery::getLibraryByName

public LibraryDiscovery::getLibraryByName($extension, $name) Gets a single library defined by an extension by name. Parameters string $extension: The name of the extension that registered a library. string $name: The name of a registered library to retrieve. Return value array|false The definition of the requested library, if $name was passed and it exists, otherwise FALSE. Overrides LibraryDiscoveryInterface::getLibraryByName File core/lib/Drupal/Core/Asset/LibraryDiscovery.php, line 57 C

LocalTaskDefault

Default object used for LocalTaskPlugins. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Menu\LocalTaskDefault implements CacheableDependencyInterface, LocalTaskInterface uses DependencySerializationTrait File core/lib/Drupal/Core/Menu/LocalTaskDefault.php, line 15 Namespace Drupal\Core\Menu Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected

ConfigFieldMapper::getBaseRouteParameters

public ConfigFieldMapper::getBaseRouteParameters() Returns the route parameters for the base route the mapper is attached to. Return value array Overrides ConfigEntityMapper::getBaseRouteParameters File core/modules/config_translation/src/ConfigFieldMapper.php, line 27 Class ConfigFieldMapper Configuration mapper for fields. Namespace Drupal\config_translation Code public function getBaseRouteParameters() { $parameters = parent::getBaseRouteParameters(); $base_entity_info = $this-

BlockBase::baseConfigurationDefaults

protected BlockBase::baseConfigurationDefaults() Returns generic default configuration for block plugins. Return value array An associative array with the default configuration. File core/lib/Drupal/Core/Block/BlockBase.php, line 85 Class BlockBase Defines a base block implementation that most blocks plugins will extend. Namespace Drupal\Core\Block Code protected function baseConfigurationDefaults() { return array( 'id' => $this->getPluginId(), 'label' => '', 'p

ModerationStateTransition

Defines the Moderation state transition entity. Plugin annotation @ConfigEntityType( id = "moderation_state_transition", label = @Translation("Moderation state transition"), handlers = { "list_builder" = "Drupal\content_moderation\ModerationStateTransitionListBuilder", "form" = { "add" = "Drupal\content_moderation\Form\ModerationStateTransitionForm", "edit" = "Drupal\content_moderation\Form\ModerationStateTransitionForm", "delete" = "Drupal\content_moderation\For

valid_email_address

valid_email_address($mail) Verifies the syntax of the given email address. Parameters string $mail: A string containing an email address. Return value bool TRUE if the address is in a valid format. Deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal::service('email.validator')->isValid(). Related topics Input validation Functions to validate user input. File core/includes/common.inc, line 180 Common functions that many Drupal modules will need to reference

QueryFactory::updateConfigKeyStore

protected QueryFactory::updateConfigKeyStore(ConfigEntityTypeInterface $entity_type, Config $config) Updates or adds lookup data. Parameters \Drupal\Core\Config\Entity\ConfigEntityTypeInterface $entity_type: The entity type. \Drupal\Core\Config\Config $config: The configuration object that is being saved. File core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php, line 94 Class QueryFactory Provides a factory for creating entity query objects for the config backend. Namespace Drupa

Merge

PostgreSQL implementation of \Drupal\Core\Database\Query\Merge. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Merge implements ConditionInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\pgsql\Merge File core/lib/Drupal/Core/Database/Driver/pgsql/Merge.php, line 10 Namespace Drupal\Core\Database\Driver\pgsql Members Name Modifiers Type Description Merge::$conditionTable protected prope

LanguageManager

Class responsible for providing language support on language-unaware sites. Hierarchy class \Drupal\Core\Language\LanguageManager implements LanguageManagerInterface uses DependencySerializationTrait File core/lib/Drupal/Core/Language/LanguageManager.php, line 12 Namespace Drupal\Core\Language Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization. Depen