FormSubmitter::doSubmitForm

public FormSubmitter::doSubmitForm(&$form, FormStateInterface &$form_state) Handles the submitted form, executing callbacks and processing responses. 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 null|\Symfony\Component\HttpFoundation\Response If a response was set by a submit handler, or if the form needs to redirect, a Response object will be returned. O

DatabaseNotFoundException

Exception thrown if specified database is not found. Hierarchy class \Drupal\Core\Database\DatabaseNotFoundException extends \RuntimeException File core/lib/Drupal/Core/Database/DatabaseNotFoundException.php, line 8 Namespace Drupal\Core\Database Members

MenuTreeStorageInterface::menuNameInUse

public MenuTreeStorageInterface::menuNameInUse($menu_name) Determines whether a specific menu name is used in the tree. Parameters string $menu_name: The menu name. Return value bool Returns TRUE if the given menu name is used, otherwise FALSE. File core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 253 Class MenuTreeStorageInterface Defines an interface for storing a menu tree containing menu link IDs. Namespace Drupal\Core\Menu Code public function menuNameInUse($menu_nam

AuthenticationCollector::$sortedProviders

Sorted list of registered providers. Type: \Drupal\Core\Authentication\AuthenticationProviderInterface[] File core/lib/Drupal/Core/Authentication/AuthenticationCollector.php, line 29 Class AuthenticationCollector A collector class for authentication providers. Namespace Drupal\Core\Authentication Code protected $sortedProviders;

ConfigImporter::reInjectMe

protected ConfigImporter::reInjectMe() Gets all the service dependencies from \Drupal. Since the ConfigImporter handles module installation the kernel and the container can be rebuilt and altered during processing. It is necessary to keep the services used by the importer in sync. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 1039 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function reInjectMe() { $this->_serviceId

UpdateProcessorInterface::deleteQueueItem

public UpdateProcessorInterface::deleteQueueItem($item) Deletes a finished item from the update fetch queue. Parameters \stdClass $item: The item returned by \Drupal\Core\Queue\QueueInterface::claimItem(). See also \Drupal\Core\Queue\QueueInterface::deleteItem() File core/modules/update/src/UpdateProcessorInterface.php, line 80 Class UpdateProcessorInterface Processor of project update information. Namespace Drupal\update Code public function deleteQueueItem($item);

ConstraintValidatorFactory

Defines a constraint validator factory that works with container injection. Hierarchy class \Symfony\Component\Validator\ConstraintValidatorFactory implements \Symfony\Component\Validator\ConstraintValidatorFactoryInterface class \Drupal\Core\Validation\ConstraintValidatorFactory File core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php, line 12 Namespace Drupal\Core\Validation Members Name Modifiers Type Description ConstraintValidatorFactory::$propertyAccessor p

DataReferenceBase::setValue

public DataReferenceBase::setValue($value, $notify = TRUE) Sets the data value. Parameters mixed|null $value: The value to set in the format as documented for the data type or NULL to unset the data value. bool $notify: (optional) Whether to notify the parent object of the change. Defaults to TRUE. If a property is updated from a parent object, set it to FALSE to avoid being notified again. Throws \InvalidArgumentException If the value input is inappropriate. \Drupal\Core\TypedData\Exception\

BookManagerInterface::getActiveTrailIds

public BookManagerInterface::getActiveTrailIds($bid, $link) Gets the active trail IDs for the specified book at the provided path. Parameters string $bid: The Book ID to find links for. array $link: A fully loaded menu link. Return value array An array containing the active trail: a list of mlids. File core/modules/book/src/BookManagerInterface.php, line 50 Class BookManagerInterface Provides an interface defining a book manager. Namespace Drupal\book Code public function getActiveTr

EntityTypeInterface::getSingularLabel

public EntityTypeInterface::getSingularLabel() Gets the singular label of the entity type. Return value string The singular label. File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 636 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getSingularLabel();