NegotiationUrlForm::validateForm

public NegotiationUrlForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/language/src/Form/NegotiationUrlForm.php, line 136 Class NegotiationUrlForm Configure the URL language negotiation method for this site. Namespace Drupal\langua

DependencyTrait::addDependency

protected DependencyTrait::addDependency($type, $name) Adds a dependency. Parameters string $type: Type of dependency being added: 'module', 'theme', 'config', 'content'. string $name: If $type is 'module' or 'theme', the name of the module or theme. If $type is 'config' or 'content', the result of EntityInterface::getConfigDependencyName(). Return value $this See also \Drupal\Core\Entity\EntityInterface::getConfigDependencyName() File core/lib/Drupal/Core/Entity/DependencyTrait.php, line 31

PermissionHandlerInterface

Defines an interface to list available permissions. Hierarchy interface \Drupal\user\PermissionHandlerInterface File core/modules/user/src/PermissionHandlerInterface.php, line 8 Namespace Drupal\user Members Name Modifiers Type Description PermissionHandlerInterface::getPermissions public function Gets all available permissions. PermissionHandlerInterface::moduleProvidesPermissions public function Determines whether a module provides some permissions.

ban_help

ban_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/ban/ban.module, line 13 Allows to ban individual IP addresses. Code function ban_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.ban': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Ban module allows administrators to ban visits to their site from individual IP addresses. For

SearchPageRepositoryInterface::sortSearchPages

public SearchPageRepositoryInterface::sortSearchPages($search_pages) Sorts a list of search pages. Parameters \Drupal\search\SearchPageInterface[] $search_pages: The unsorted list of search pages. Return value \Drupal\search\SearchPageInterface[] The sorted list of search pages. File core/modules/search/src/SearchPageRepositoryInterface.php, line 66 Class SearchPageRepositoryInterface Provides the interface for a repository Search Page entities. Namespace Drupal\search Code public fu

CacheTagsInvalidator::getInvalidatorCacheBins

protected CacheTagsInvalidator::getInvalidatorCacheBins() Returns all cache bins that need to be notified about invalidations. Return value \Drupal\Core\Cache\CacheTagsInvalidatorInterface[] An array of cache backend objects that implement the invalidator interface, keyed by their cache bin. File core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php, line 68 Class CacheTagsInvalidator Passes cache tag events to classes that wish to respond to them. Namespace Drupal\Core\Cache Code prote

UnsupportedDataTypeConfigException

Exception thrown when a config data type is invalid. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\UnsupportedDataTypeConfigException File core/lib/Drupal/Core/Config/UnsupportedDataTypeConfigException.php, line 8 Namespace Drupal\Core\Config Members

FormBuilder::executeSubmitHandlers

public FormBuilder::executeSubmitHandlers(&$form, FormStateInterface &$form_state) Executes custom submission handlers for a given form. Button-specific handlers are checked first. If none exist, the function falls back to form-level handlers. Parameters $form: An associative array containing the structure of the form. $form_state: The current state of the form. If the user submitted the form by clicking a button with custom handler functions defined, those handlers will be stored here

DatabaseStorage::schemaDefinition

protected static DatabaseStorage::schemaDefinition() Defines the schema for the configuration table. File core/lib/Drupal/Core/Config/DatabaseStorage.php, line 184 Class DatabaseStorage Defines the Database storage. Namespace Drupal\Core\Config Code protected static function schemaDefinition() { $schema = array( 'description' => 'The base table for configuration data.', 'fields' => array( 'collection' => array( 'description' => 'Primary Key: Config o

FieldConfigStorageBase::mapToStorageRecord

protected FieldConfigStorageBase::mapToStorageRecord(EntityInterface $entity) Maps from an entity object to the storage record. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity object. Return value array The record to store. Overrides ConfigEntityStorage::mapToStorageRecord File core/lib/Drupal/Core/Field/FieldConfigStorageBase.php, line 34 Class FieldConfigStorageBase Base storage class for field config entities. Namespace Drupal\Core\Field Code protected function