SpecialAttributesRouteSubscriber::onAlterRoutes

public SpecialAttributesRouteSubscriber::onAlterRoutes(RouteBuildEvent $event) Delegates the route altering to self::alterRoutes(). Parameters \Drupal\Core\Routing\RouteBuildEvent $event: The route build event. Overrides RouteSubscriberBase::onAlterRoutes File core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php, line 43 Class SpecialAttributesRouteSubscriber Provides a route subscriber which checks for invalid pattern variables. Namespace Drupal\Core\EventSubscrib

FormValidator

Provides validation of form submissions. Hierarchy class \Drupal\Core\Form\FormValidator implements FormValidatorInterface uses StringTranslationTrait File core/lib/Drupal/Core/Form/FormValidator.php, line 17 Namespace Drupal\Core\Form Members Name Modifiers Type Description FormValidator::$csrfToken protected property The CSRF token generator to validate the form token. FormValidator::$formErrorHandler protected property The form error handler. FormValidator::

Undefined

Undefined configuration element. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\Config\Schema\Elementclass \Drupal\Core\Config\Schema\Undefined File core/lib/Drupal/Core/Config/Schema/Undefined.php, line 8 Namespace Drupal\Core\Config\Schema Members Name Modifiers Type Description Element::$value protected property The configuration value. Element:

FormState::setAnyErrors

protected static FormState::setAnyErrors($errors = TRUE) Sets the global status of errors. Parameters bool $errors: TRUE if any form has any errors, FALSE otherwise. File core/lib/Drupal/Core/Form/FormState.php, line 1041 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code protected static function setAnyErrors($errors = TRUE) { static::$anyErrors = $errors; }

ConfigFormBaseTrait::config

protected ConfigFormBaseTrait::config($name) Retrieves a configuration object. Parameters string $name: The name of the configuration object to retrieve. The name corresponds to a configuration file. For \Drupal::config('book.admin') , the config object returned will contain the contents of book.admin configuration file. Return value \Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig An editable configuration object if the given name is listed in the getEditableConfigNames() met

GeneratedUrl::$generatedUrl

The string value of the URL. Type: string File core/lib/Drupal/Core/GeneratedUrl.php, line 20 Class GeneratedUrl Used to return generated URLs, along with associated bubbleable metadata. Namespace Drupal\Core Code protected $generatedUrl = '';

FormState::$invalidToken

If set to TRUE the form will skip calling form element value callbacks, except for a select list of callbacks provided by Drupal core that are known to be safe. This property is uncacheable. Type: bool See also self::setInvalidToken() File core/lib/Drupal/Core/Form/FormState.php, line 115 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code protected $invalidToken = FALSE;

DateFormatter::formatDiff

public DateFormatter::formatDiff($from, $to, $options = array()) Formats a time interval between two timestamps. Parameters int $from: A UNIX timestamp, defining the from date and time. int $to: A UNIX timestamp, defining the to date and time. array $options: (optional) An associative array with additional options. The following keys can be used: granularity: An integer value that signals how many different units to display in the string. Defaults to 2. langcode: The language code for the la

DRUPAL_OPTIONAL

Optional option on forms and settings File core/modules/system/system.module, line 54 Configuration system that lets administrators modify the workings of the site. Code const DRUPAL_OPTIONAL = 1;

tablesort_get_order

tablesort_get_order($headers) Determines the current sort criterion. Parameters $headers: An array of column headers in the format described in '#type' => 'table'. Return value An associative array describing the criterion, containing the keys: "name": The localized title of the table column. "sql": The name of the database field to sort on. File core/includes/tablesort.inc, line 97 Functions to aid in the creation of sortable tables. Code function tablesort_get_order($headers) { $