CommentForm::buildEntity

public CommentForm::buildEntity(array $form, FormStateInterface $form_state) Builds an updated entity object based upon the submitted form values. For building the updated entity object the form's entity is cloned and the submitted form values are copied to entity properties. The form's entity remains unchanged. Parameters array $form: A nested array form elements comprising the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value \Drupal\Core\En

ModerationStateTransitionInterface

Provides an interface for defining Moderation state transition entities. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\content_moderation\ModerationStateTransitionInterface File core/modules/content_moderation/src/ModerationStateTransitionInterface.php, line 10 Namespace Drupal\content_moderation Members Name Modifiers Type Desc

PhpArrayContainer::resolveServicesAndParameters

protected PhpArrayContainer::resolveServicesAndParameters($arguments) Resolves arguments that represent services or variables to the real values. Parameters array|\stdClass $arguments: The arguments to resolve. Return value array The resolved arguments. Throws \Symfony\Component\DependencyInjection\Exception\RuntimeException If a parameter/service could not be resolved. \Symfony\Component\DependencyInjection\Exception\InvalidArgumentException If an unknown type is met while resolving paramet

UpdateManagerInstall::validateForm

public UpdateManagerInstall::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/update/src/Form/UpdateManagerInstall.php, line 124 Class UpdateManagerInstall Configure update settings for this site. Namespace Drupal\update\Form Code publ

DeleteForm::__construct

public DeleteForm::__construct(AliasStorageInterface $alias_storage) Constructs a \Drupal\path\Form\DeleteForm object. Parameters \Drupal\Core\Path\AliasStorageInterface $alias_storage: The alias storage service. File core/modules/path/src/Form/DeleteForm.php, line 36 Class DeleteForm Builds the form to delete a path alias. Namespace Drupal\path\Form Code public function __construct(AliasStorageInterface $alias_storage) { $this->aliasStorage = $alias_storage; }

locale_translate_batch_finished

locale_translate_batch_finished($success, array $results) Implements callback_batch_finished(). Finished callback of system page locale import batch. Parameters bool $success: TRUE if batch successfully completed. array $results: Batch results. File core/modules/locale/locale.bulk.inc, line 364 Mass import-export and batch import functionality for Gettext .po files. Code function locale_translate_batch_finished($success, array $results) { $logger = \Drupal::logger('locale'); if ($success

Connection

SQLite implementation of \Drupal\Core\Database\Connection. Hierarchy class \Drupal\Core\Database\Connectionclass \Drupal\Core\Database\Driver\sqlite\Connection File core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php, line 12 Namespace Drupal\Core\Database\Driver\sqlite Members Name Modifiers Type Description Connection::$attachedDatabases protected property All databases attached to the current database. This is used to allow prefixes to be safely handled withou

StringTranslationTrait::formatPlural

protected StringTranslationTrait::formatPlural($count, $singular, $plural, array $args = array(), array $options = array()) Formats a string containing a count of items. See also \Drupal\Core\StringTranslation\TranslationInterface::formatPlural() File core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php, line 79 Class StringTranslationTrait Wrapper methods for \Drupal\Core\StringTranslation\TranslationInterface. Namespace Drupal\Core\StringTranslation Code protected funct

UpdateManagerUpdate::__construct

public UpdateManagerUpdate::__construct(ModuleHandlerInterface $module_handler, StateInterface $state) Constructs a new UpdateManagerUpdate object. Parameters \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. \Drupal\Core\State\StateInterface $state: The state service. File core/modules/update/src/Form/UpdateManagerUpdate.php, line 39 Class UpdateManagerUpdate Configure update settings for this site. Namespace Drupal\update\Form Code public function __

AccountInterface::getUsername

public AccountInterface::getUsername() Returns the unaltered login name of this account. Return value string An unsanitized plain-text string with the name of this account that is used to log in. Only display this name to admins and to the user who owns this account, and only in the context of the name used to log in. For any other display purposes, use \Drupal\Core\Session\AccountInterface::getDisplayName() instead. Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use \Drupa