ConfigHandler::getFormId

public ConfigHandler::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/views_ui/src/Form/Ajax/ConfigHandler.php, line 43 Class ConfigHandler Provides a form for configuring an item in the Views UI. Namespace Drupal\views_ui\Form\Ajax Code public function getFormId() { return 'views_ui_config_item_form'; }

FieldType

Defines a FieldType annotation object. Additional annotation keys for field types can be defined in hook_field_info_alter(). Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\Core\TypedData\Annotation\DataTypeclass \Drupal\Core\Field\Annotation\FieldType Related topics Annotations Annotations for class discovery and metadata description. Field Types API Defines field, widget, display formatter, and storage types. File core/lib/Drupal/Core/Fie

FormValidatorInterface::executeValidateHandlers

public FormValidatorInterface::executeValidateHandlers(&$form, FormStateInterface &$form_state) Executes custom validation handlers for a given form. Button-specific handlers are checked first. If none exist, the function falls back to form-level handlers. Parameters $form: An associative array containing the structure of the form. $form_state: The current state of the form. If the user submitted the form by clicking a button with custom handler functions defined, those handlers will b

UserController

Controller routines for user routes. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\user\Controller\UserController File core/modules/user/src/Controller/UserController.php, line 21 Namespace Drupal\user\Controller Members Name Modifiers Type Description ControllerBase::$configFactory protected property

TourInterface

Provides an interface defining a tour entity. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\tour\TourInterface File core/modules/tour/src/TourInterface.php, line 10 Namespace Drupal\tour Members Name Modifiers Type Description AccessibleInterface::access public function Checks data value access. CacheableDependencyInte

ConfigSingleImportForm::buildForm

public ConfigSingleImportForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides ConfirmFormBase::buildForm File core/modules/config/src/Form/ConfigSingleImportForm.php, line 216 Class ConfigSingleImportForm Provides a form for importing a single configura

FileStorage::getCollectionName

public FileStorage::getCollectionName() Gets the name of the current collection the storage is using. Return value string The current collection name. Overrides StorageInterface::getCollectionName File core/lib/Drupal/Core/Config/FileStorage.php, line 274 Class FileStorage Defines the file storage. Namespace Drupal\Core\Config Code public function getCollectionName() { return $this->collection; }

FormBuilder::submitForm

public FormBuilder::submitForm($form_arg, FormStateInterface &$form_state) Retrieves, populates, and processes a form. This function allows you to supply values for form elements and submit a form for processing. Compare to self::getForm(), which also builds and processes a form, but does not allow you to supply values. There is no return value, but you can check to see if there are errors by calling $form_state->getErrors(). // register a new user $form_state = new FormState(); $values[

hook_node_grants

hook_node_grants(\Drupal\Core\Session\AccountInterface $account, $op) Inform the node access system what permissions the user has. This hook is for implementation by node access modules. In this hook, the module grants a user different "grant IDs" within one or more "realms". In hook_node_access_records(), the realms and grant IDs are associated with permission to view, edit, and delete individual nodes. The realms and grant IDs can be arbitrarily defined by your node access module; it is commo

views.views.inc

Provide views data that isn't tied to any other module. File core/modules/views/views.views.inc Functions Name Description core_field_views_data Implements hook_field_views_data(). views_entity_field_label Returns the label of a certain field. views_field_default_views_data Default views data implementation for a field. views_views_data Implements hook_views_data(). views_views_data_alter Implements hook_views_data_alter(). _views_field_get_entity_type_storage Dete