SearchPageFormBase::save

public SearchPageFormBase::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value int Either SAVED_NEW or SAVED_UPDATED, depending on the op

SearchQuery::NO_POSITIVE_KEYWORDS

Indicates no positive keywords were in the search expression. Positive keywords are words that are searched for, as opposed to negative keywords, which are words that are excluded. To count as a keyword, a word must be at least \Drupal::config('search.settings')->get('index.minimum_word_size') characters. See also SearchQuery::getStatus() File core/modules/search/src/SearchQuery.php, line 45 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code

FormStateDecoratorBase::setValidateHandlers

public FormStateDecoratorBase::setValidateHandlers(array $validate_handlers) Sets the validate handlers. Parameters array $validate_handlers: An array of validate handlers. Return value $this Overrides FormStateInterface::setValidateHandlers File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 386 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function setValidateHandlers(array $validate_handlers) { $this->decoratedFo

AssetCollectionGrouperInterface::group

public AssetCollectionGrouperInterface::group(array $assets) Groups a collection of assets into logical groups of asset collections. Parameters array $assets: An asset collection. Return value array A sorted array of asset groups. File core/lib/Drupal/Core/Asset/AssetCollectionGrouperInterface.php, line 19 Class AssetCollectionGrouperInterface Interface defining a service that logically groups a collection of assets. Namespace Drupal\Core\Asset Code public function group(array $asset

RouteSubscriberBase::onAlterRoutes

public RouteSubscriberBase::onAlterRoutes(RouteBuildEvent $event) Delegates the route altering to self::alterRoutes(). Parameters \Drupal\Core\Routing\RouteBuildEvent $event: The route build event. File core/lib/Drupal/Core/Routing/RouteSubscriberBase.php, line 35 Class RouteSubscriberBase Provides a base implementation for RouteSubscriber. Namespace Drupal\Core\Routing Code public function onAlterRoutes(RouteBuildEvent $event) { $collection = $event->getRouteCollection(); $thi

content_moderation_entity_extra_field_info

content_moderation_entity_extra_field_info() Implements hook_entity_extra_field_info(). File core/modules/content_moderation/content_moderation.module, line 151 Contains content_moderation.module. Code function content_moderation_entity_extra_field_info() { return \Drupal::service('class_resolver') ->getInstanceFromDefinition(EntityTypeInfo::class) ->entityExtraFieldInfo(); }

InstallerException::$title

The page title to output. Type: string File core/lib/Drupal/Core/Installer/Exception/InstallerException.php, line 18 Class InstallerException Base class for exceptions thrown by installer. Namespace Drupal\Core\Installer\Exception Code protected $title;

TypedConfigManager::clearCachedDefinitions

public TypedConfigManager::clearCachedDefinitions() Clears static and persistent plugin definition caches. Don't resort to calling \Drupal::cache()->delete() and friends to make Drupal detect new or updated plugin definitions. Always use this method on the appropriate plugin type's plugin manager! Overrides TypedDataManager::clearCachedDefinitions File core/lib/Drupal/Core/Config/TypedConfigManager.php, line 196 Class TypedConfigManager Manages config schema type plugins. Namespace D

BatchStorage

Hierarchy class \Drupal\Core\Batch\BatchStorage implements BatchStorageInterface File core/lib/Drupal/Core/Batch/BatchStorage.php, line 10 Namespace Drupal\Core\Batch Members Name Modifiers Type Description BatchStorage::$connection protected property The database connection. BatchStorage::$csrfToken protected property The CSRF token generator. BatchStorage::$session protected property The session. BatchStorage::catchException protected function A

DbDumpCommand::$excludeTables

An array of table patterns to exclude completely. This excludes any lingering simpletest tables generated during test runs. Type: array File core/lib/Drupal/Core/Command/DbDumpCommand.php, line 36 Class DbDumpCommand Provides a command to dump the current database to a script. Namespace Drupal\Core\Command Code protected $excludeTables = ['test[0-9]+'];