color_scheme_form

color_scheme_form($complete_form, FormStateInterface $form_state, $theme) Form constructor for the color configuration form for a particular theme. Parameters $theme: The machine name of the theme whose color settings are being configured. See also color_scheme_form_validate() color_scheme_form_submit() File core/modules/color/color.module, line 200 Allows users to change the color scheme of themes. Code function color_scheme_form($complete_form, FormStateInterface $form_state, $theme) {

NoUniqueFieldException

Exception thrown if an upsert query doesn't specify a unique field. Hierarchy class \Drupal\Core\Database\Query\NoUniqueFieldException extends \InvalidArgumentException implements DatabaseException File core/lib/Drupal/Core/Database/Query/NoUniqueFieldException.php, line 10 Namespace Drupal\Core\Database\Query Members

ContextAwareVariantInterface::setContexts

public ContextAwareVariantInterface::setContexts(array $contexts) Sets the context values for this display variant. Parameters \Drupal\Component\Plugin\Context\ContextInterface[] $contexts: An array of contexts, keyed by context name. Return value $this File core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php, line 26 Class ContextAwareVariantInterface Provides an interface for variant plugins that are context-aware. Namespace Drupal\Core\Display Code public function setCon

PoStreamReader::readLine

private PoStreamReader::readLine() Reads a line from the PO stream and stores data internally. Expands $this->_current_item based on new data for the current item. If this line ends the current item, it is saved with setItemFromArray() with data from $this->_current_item. An internal state machine is maintained in this reader using $this->_context as the reading state. PO items are in between COMMENT states (when items have at least one line or comment in between them) or indicated by

MailFormatHelper::$supportedTags

Array of tags supported. Type: array File core/lib/Drupal/Core/Mail/MailFormatHelper.php, line 34 Class MailFormatHelper Defines a class containing utility methods for formatting mail messages. Namespace Drupal\Core\Mail Code protected static $supportedTags = array();

ConfigTranslationFieldListBuilder::getFilterLabels

public ConfigTranslationFieldListBuilder::getFilterLabels() Provides user facing strings for the filter element. Return value array Overrides ConfigTranslationEntityListBuilder::getFilterLabels File core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php, line 97 Class ConfigTranslationFieldListBuilder Defines the config translation list builder for field entities. Namespace Drupal\config_translation\Controller Code public function getFilterLabels() { $i

DrupalKernel::$allowDumping

Whether the container can be dumped. Type: bool File core/lib/Drupal/Core/DrupalKernel.php, line 162 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected $allowDumping;

UrlHelper::$allowedProtocols

The list of allowed protocols. Type: array File core/lib/Drupal/Component/Utility/UrlHelper.php, line 17 Class UrlHelper Helper class URL based methods. Namespace Drupal\Component\Utility Code protected static $allowedProtocols = array('http', 'https');

RouteProcessorCsrf::$csrfToken

The CSRF token generator. Type: \Drupal\Core\Access\CsrfTokenGenerator File core/lib/Drupal/Core/Access/RouteProcessorCsrf.php, line 19 Class RouteProcessorCsrf Processes the outbound route to handle the CSRF token. Namespace Drupal\Core\Access Code protected $csrfToken;

VocabularyDeleteForm::getDescription

public VocabularyDeleteForm::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides EntityConfirmFormBase::getDescription File core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 29 Class VocabularyDeleteForm Provides a deletion confirmation form for taxonomy vocabulary. Namespace Drupal\taxonomy\Form Code public function getDescription() { return $this->t('Deleting a vocabulary will delete all the terms