FormState::isProcessingInput

public FormState::isProcessingInput() Determines if the form input will be processed. Return value bool If TRUE, the form input will be processed. Overrides FormStateInterface::isProcessingInput File core/lib/Drupal/Core/Form/FormState.php, line 665 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function isProcessingInput() { return $this->process_input; }

DateFormatter::format

public DateFormatter::format($timestamp, $type = 'medium', $format = '', $timezone = NULL, $langcode = NULL) Formats a date, using a date type or a custom date format string. Parameters int $timestamp: A UNIX timestamp to format. string $type: (optional) The format to use, one of: One of the built-in formats: 'short', 'medium', 'long', 'html_datetime', 'html_date', 'html_time', 'html_yearless_date', 'html_week', 'html_month', 'html_year'. The name of a date type defined by a date format confi

DatabaseBackend::catchException

protected DatabaseBackend::catchException(\Exception $e, $table_name = NULL) Act on an exception when cache might be stale. If the table does not yet exist, that's fine, but if the table exists and yet the query failed, then the cache is stale and the exception needs to propagate. Parameters $e: The exception. string|null $table_name: The table name. Defaults to $this->bin. Throws \Exception File core/lib/Drupal/Core/Cache/DatabaseBackend.php, line 388 Class DatabaseBackend Defines a

ConfigManager::diff

public ConfigManager::diff(StorageInterface $source_storage, StorageInterface $target_storage, $source_name, $target_name = NULL, $collection = StorageInterface::DEFAULT_COLLECTION) Creates a Diff object using the config data from the two storages. @todo Make renderer injectable Parameters \Drupal\Core\Config\StorageInterface $source_storage: The storage to diff configuration from. \Drupal\Core\Config\StorageInterface $target_storage: The storage to diff configuration to. string $source_name:

EntityTypeBundleInfo::clearCachedBundles

public EntityTypeBundleInfo::clearCachedBundles() Clears static and persistent bundles. Overrides EntityTypeBundleInfoInterface::clearCachedBundles File core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php, line 121 Class EntityTypeBundleInfo Provides discovery and retrieval of entity type bundles. Namespace Drupal\Core\Entity Code public function clearCachedBundles() { $this->bundleInfo = []; Cache::invalidateTags(['entity_bundles']); // Entity bundles are exposed as data typ

ViewUI::language

public ViewUI::language() Gets the language of the entity. Return value \Drupal\Core\Language\LanguageInterface The language object. Overrides EntityInterface::language File core/modules/views_ui/src/ViewUI.php, line 1041 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function language() { return $this->storage->language(); }

NodeForm::submitForm

public NodeForm::submitForm(array &$form, FormStateInterface $form_state) Updates the node object by processing the submitted values. This function can be called by a "Next" button of a wizard to update the form state's entity with the current step's values before proceeding to the next step. Overrides ContentEntityForm::submitForm File core/modules/node/src/NodeForm.php, line 315 Class NodeForm Form handler for the node edit forms. Namespace Drupal\node Code public function submi

CommentTypeForm::__construct

public CommentTypeForm::__construct(EntityManagerInterface $entity_manager, LoggerInterface $logger, CommentManagerInterface $comment_manager) Constructs a CommentTypeFormController Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service. \Psr\Log\LoggerInterface $logger: A logger instance. \Drupal\comment\CommentManagerInterface $comment_manager: The comment manager. File core/modules/comment/src/CommentTypeForm.php, line 60 Class CommentTypeForm

StatementInterface::fetchField

public StatementInterface::fetchField($index = 0) Returns a single field from the next record of a result set. Parameters $index: The numeric index of the field to return. Defaults to the first field. Return value A single field from the next record, or FALSE if there is no next record. File core/lib/Drupal/Core/Database/StatementInterface.php, line 123 Class StatementInterface Represents a prepared statement. Namespace Drupal\Core\Database Code public function fetchField($index = 0)

EntityBundleListenerInterface

An interface for reacting to entity bundle creation and deletion. @todo Convert to Symfony events: https://www.drupal.org/node/2332935 Hierarchy interface \Drupal\Core\Entity\EntityBundleListenerInterface File core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php, line 10 Namespace Drupal\Core\Entity Members Name Modifiers Type Description EntityBundleListenerInterface::onBundleCreate public function Reacts to a bundle being created. EntityBundleListenerInterfa