FieldConfigEditForm::form

public FieldConfigEditForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/field_ui/src/Form/FieldConfigEditForm.php, line 30 Class FieldConfigEditForm Provides a form for the field settings form. Namespace Drupal\field_ui\Form Code public function form(array $form, FormStateInterface $form_state) {

MenuTreeStorage::MAX_DEPTH

The maximum depth of a menu links tree. File core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 23 Class MenuTreeStorage Provides a menu tree storage using the database. Namespace Drupal\Core\Menu Code const MAX_DEPTH = 9;

MTimeProtectedFileStorage

Stores PHP code in files with securely hashed names. The goal of this class is to ensure that if a PHP file is replaced with an untrusted one, it does not get loaded. Since mtime granularity is 1 second, we cannot prevent an attack that happens within one second of the initial save(). However, it is very unlikely for an attacker exploiting an upload or file write vulnerability to also know when a legitimate file is being saved, discover its hash, undo its file permissions, and override the file

ConditionInterface::condition

public ConditionInterface::condition($field, $value = NULL, $operator = NULL, $langcode = NULL) Adds a condition. Parameters string|\Drupal\Core\Entity\Query\ConditionInterface $field: mixed $value: string $operator: string $langcode: Return value ConditionInterface See also \Drupal\Core\Entity\Query\QueryInterface::condition() File core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 37 Class ConditionInterface Defines the entity query condition interface. Namespace Drupal

template_preprocess_language_negotiation_configure_form

template_preprocess_language_negotiation_configure_form(&$variables) Prepares variables for language negotiation configuration form. Default template: language-content-configuration-form.html.twig. Parameters array $variables: An associative array containing: form: A render element representing the form. File core/modules/language/language.admin.inc, line 20 Administration functions for language.module. Code function template_preprocess_language_negotiation_configure_form(&$variab

SetDialogTitleCommand::__construct

public SetDialogTitleCommand::__construct($selector, $title) Constructs a SetDialogTitleCommand object. Parameters string $selector: The selector of the dialog whose title will be set. If set to an empty value, the default modal dialog will be selected. string $title: The title that will be set on the dialog. Overrides SetDialogOptionCommand::__construct File core/lib/Drupal/Core/Ajax/SetDialogTitleCommand.php, line 21 Class SetDialogTitleCommand Defines an AJAX command that sets jQuery U

InvokeCommand::$method

A jQuery method to invoke. Type: string File core/lib/Drupal/Core/Ajax/InvokeCommand.php, line 35 Class InvokeCommand AJAX command for invoking an arbitrary jQuery method. Namespace Drupal\Core\Ajax Code protected $method;

UserPasswordForm::__construct

public UserPasswordForm::__construct(UserStorageInterface $user_storage, LanguageManagerInterface $language_manager) Constructs a UserPasswordForm object. Parameters \Drupal\user\UserStorageInterface $user_storage: The user storage. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager. File core/modules/user/src/Form/UserPasswordForm.php, line 39 Class UserPasswordForm Provides a user password reset form. Namespace Drupal\user\Form Code public functio

image_help

image_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/image/image.module, line 61 Exposes global functionality for creating image styles. Code function image_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.image': $field_ui_url = \Drupal::moduleHandler()->moduleExists('field_ui') ? \Drupal::url('help.page', array('name' => 'field_ui')) : '#'; $output = ''; $output .= '<

RestResourceConfig::normalizeRestMethod

protected RestResourceConfig::normalizeRestMethod($method) Normalizes the method to upper case and check validity. Parameters string $method: The request method. Return value string The normalised request method. Throws \InvalidArgumentException If the method is not supported. File core/modules/rest/src/Entity/RestResourceConfig.php, line 257 Class RestResourceConfig Defines a RestResourceConfig configuration entity class. Namespace Drupal\rest\Entity Code protected function normali