NodeForm

Form handler for the node edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\node\NodeForm File core/modules/node/src/NodeForm.php,

KeyValueMemoryFactory::$collections

An array of keyvalue collections that are stored in memory. Type: array File core/lib/Drupal/Core/KeyValueStore/KeyValueMemoryFactory.php, line 15 Class KeyValueMemoryFactory Defines the key/value store factory for the memory backend. Namespace Drupal\Core\KeyValueStore Code protected $collections = array();

BanDelete::submitForm

public BanDelete::submitForm(array &$form, FormStateInterface $form_state) Form submission 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 FormInterface::submitForm File core/modules/ban/src/Form/BanDelete.php, line 94 Class BanDelete Provides a form to unban IP addresses. Namespace Drupal\ban\Form Code public function submitForm(array &$form,

NodeGrantDatabaseStorage::alterQuery

public NodeGrantDatabaseStorage::alterQuery($query, array $tables, $op, AccountInterface $account, $base_table) Alters a query when node access is required. Parameters mixed $query: Query that is being altered. array $tables: A list of tables that need to be part of the alter. string $op: The operation to be performed on the node. Possible values are: "view" "update" "delete" "create" \Drupal\Core\Session\AccountInterface $account: A user object representing the user for whom the operation i

Drupal::destination

public static Drupal::destination() Returns the redirect destination helper. Return value \Drupal\Core\Routing\RedirectDestinationInterface The redirect destination helper. File core/lib/Drupal.php, line 710 Contains \Drupal. Class Drupal Static Service Container wrapper. Code public static function destination() { return static::getContainer()->get('redirect.destination'); }

CacheContextsManager::getLabels

public CacheContextsManager::getLabels($include_calculated_cache_contexts = FALSE) Provides an array of available cache context labels. To be used in cache configuration forms. Parameters bool $include_calculated_cache_contexts: Whether to also return calculated cache contexts. Default to FALSE. Return value array An array of available cache contexts and corresponding labels. File core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php, line 73 Class CacheContextsManager Converts cac

CacheContextsManager::getService

protected CacheContextsManager::getService($context_id) Retrieves a cache context service from the container. Parameters string $context_id: The context ID, which together with the service ID prefix allows the corresponding cache context service to be retrieved. Return value \Drupal\Core\Cache\Context\CacheContextInterface The requested cache context service. File core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php, line 216 Class CacheContextsManager Converts cache context token

UserCancelForm::getCancelUrl

public UserCancelForm::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides ConfirmFormInterface::getCancelUrl File core/modules/user/src/Form/UserCancelForm.php, line 40 Class UserCancelForm Provides a confirmation form for cancelling user account. Namespace Drupal\user\Form Code public function getCancelUrl() { return $this->entity->urlInfo(); }

BasicSettingsForm::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/views_ui/src/Form/BasicSettingsForm.php, line 21 Class BasicSettingsForm Form builder for the admin display defaults page. Namespace Drupal\views_ui\Form Code protected $themeHandler;

AdvancedSettingsForm::cacheSubmit

public AdvancedSettingsForm::cacheSubmit() Submission handler to clear the Views cache. File core/modules/views_ui/src/Form/AdvancedSettingsForm.php, line 102 Class AdvancedSettingsForm Form builder for the advanced admin settings page. Namespace Drupal\views_ui\Form Code public function cacheSubmit() { views_invalidate_cache(); drupal_set_message($this->t('The cache has been cleared.')); }