TranslationStatusForm::validateForm

public TranslationStatusForm::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/locale/src/Form/TranslationStatusForm.php, line 255 Class TranslationStatusForm Provides a translation status form. Namespace Drupal\locale\Form Code public

DynamicPageCacheSubscriber::HEADER

Name of Dynamic Page Cache's response header. File core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php, line 40 Class DynamicPageCacheSubscriber Returns cached responses as early and avoiding as much work as possible. Namespace Drupal\dynamic_page_cache\EventSubscriber Code const HEADER = 'X-Drupal-Dynamic-Cache';

LocaleConfigManager::$configManager

The configuration manager. Type: \Drupal\Core\Config\ConfigManagerInterface File core/modules/locale/src/LocaleConfigManager.php, line 99 Class LocaleConfigManager Manages configuration supported in part by interface translation. Namespace Drupal\locale Code protected $configManager;

EntityStorageInterface::getQuery

public EntityStorageInterface::getQuery($conjunction = 'AND') Gets an entity query instance. Parameters string $conjunction: (optional) The logical operator for the query, either: AND: all of the conditions on the query need to match. OR: at least one of the conditions on the query need to match. Return value \Drupal\Core\Entity\Query\QueryInterface The query instance. See also \Drupal\Core\Entity\EntityStorageBase::getQueryServiceName() File core/lib/Drupal/Core/Entity/EntityStorageInte

ContactForm::setRedirectPath

public ContactForm::setRedirectPath($redirect) Sets the redirect path. Parameters string $redirect: The desired path. Return value $this Overrides ContactFormInterface::setRedirectPath File core/modules/contact/src/Entity/ContactForm.php, line 152 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code public function setRedirectPath($redirect) { $this->redirect = $redirect; return $this; }

Element::children

public static Element::children(array &$elements, $sort = FALSE) Identifies the children of an element array, optionally sorted by weight. The children of a element array are those key/value pairs whose key does not start with a '#'. See drupal_render() for details. Parameters array $elements: The element array whose children are to be identified. Passed by reference. bool $sort: Boolean to indicate whether the children should be sorted by weight. Return value array The array keys of the

BatchStorageInterface::update

public BatchStorageInterface::update(array $batch) Updates a batch. Parameters array $batch: The array representing the batch to update. File core/lib/Drupal/Core/Batch/BatchStorageInterface.php, line 35 Class BatchStorageInterface Defines a common interface for batch storage operations. Namespace Drupal\Core\Batch Code public function update(array $batch);

DataReferenceInterface::getTarget

public DataReferenceInterface::getTarget() Gets the referenced data. Return value \Drupal\Core\TypedData\TypedDataInterface|null The referenced typed data object, or NULL if the reference is unset. File core/lib/Drupal/Core/TypedData/DataReferenceInterface.php, line 18 Class DataReferenceInterface Interface for typed data references. Namespace Drupal\Core\TypedData Code public function getTarget();

language_entity_base_field_info_alter

language_entity_base_field_info_alter(&$fields) Implements hook_entity_base_field_info_alter(). File core/modules/language/language.module, line 167 Add language handling functionality to Drupal. Code function language_entity_base_field_info_alter(&$fields) { foreach ($fields as $definition) { // Set configurable form display for language fields with display options. if ($definition->getType() == 'language') { foreach (array('form', 'view') as $type) { if ($

TriggerPreviewCommand::render

public TriggerPreviewCommand::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/modules/views/src/Ajax/TriggerPreviewCommand.php, line 17 Class TriggerPreviewCommand Provides an AJAX command for triggering the views live preview. Namespace Drupal\views\Ajax Code public function render() { return array( 'command' => 'viewsTriggerPreview', ); }