ExecutionContext::$constraint

The currently validated constraint. Type: \Symfony\Component\Validator\Constraint|null File core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php, line 92 Class ExecutionContext Defines an execution context class. Namespace Drupal\Core\TypedData\Validation Code protected $constraint;

BasicSettingsForm::getFormId

public BasicSettingsForm::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/BasicSettingsForm.php, line 50 Class BasicSettingsForm Form builder for the admin display defaults page. Namespace Drupal\views_ui\Form Code public function getFormId() { return 'views_ui_admin_settings_basic'; }

views.module

Primarily Drupal hooks and global API functions to manipulate views. File core/modules/views/views.module Functions Name Description views_add_contextual_links Adds contextual links associated with a view display to a renderable array. views_disable_view Disables and saves a view. views_element_validate_tags Validation callback for query tags. views_embed_view Embed a view using a PHP snippet. views_enable_view Enables and saves a view. views_field_config_delete Im

ContentTranslationHandler::entityFormAlter

public ContentTranslationHandler::entityFormAlter(array &$form, FormStateInterface $form_state, EntityInterface $entity) Performs the needed alterations to the entity form. Parameters array $form: The entity form to be altered to provide the translation workflow. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. \Drupal\Core\Entity\EntityInterface $entity: The entity being created or edited. Overrides ContentTranslationHandlerInterface::entityFormAlter File c

Condition::$conditions

Array of conditions. Type: array File core/lib/Drupal/Core/Database/Query/Condition.php, line 18 Class Condition Generic class for a series of conditions in a query. Namespace Drupal\Core\Database\Query Code protected $conditions = array();

forum_comment_update

forum_comment_update(CommentInterface $comment) Implements hook_ENTITY_TYPE_update() for comment entities. File core/modules/forum/forum.module, line 261 Provides discussion forums. Code function forum_comment_update(CommentInterface $comment) { if ($comment->getCommentedEntityTypeId() == 'node') { \Drupal::service('forum.index_storage')->updateIndex($comment->getCommentedEntity()); } }

ActionFormBase::submitForm

public ActionFormBase::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden unless th

PathProcessorLanguage::initProcessors

protected PathProcessorLanguage::initProcessors($scope) Initializes the local cache for language path processors. Parameters string $scope: The scope of the processors: "inbound" or "outbound". File core/modules/language/src/HttpKernel/PathProcessorLanguage.php, line 132 Class PathProcessorLanguage Processes the inbound path using path alias lookups. Namespace Drupal\language\HttpKernel Code protected function initProcessors($scope) { $interface = '\Drupal\Core\PathProcessor\\' . Un

Editor

Defines an Editor annotation object. Plugin Namespace: Plugin\Editor Text editor plugin implementations need to define a plugin definition array through annotation. These definition arrays may be altered through hook_editor_info_alter(). The definition includes the following keys: id: The unique, system-wide identifier of the text editor. Typically named the same as the editor library. label: The human-readable name of the text editor, translated. supports_content_filtering: Whether the edit

WidgetInterface::massageFormValues

public WidgetInterface::massageFormValues(array $values, array $form, FormStateInterface $form_state) Massages the form values into the format expected for field values. Parameters array $values: The submitted form values produced by the widget. If the widget does not manage multiple values itself, the array holds the values generated by the multiple copies of the $element generated by the formElement() method, keyed by delta. If the widget manages multiple values, the array holds the values o