CommentFieldItemList

Defines a item list class for comment fields. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\TypedData\Plugin\DataType\ItemList implements \IteratorAggregate, ListInterfaceclass \Drupal\Core\Field\FieldItemList implements FieldItemListInterfaceclass \Drupal\comment\CommentFieldItemList File core/modules/comment/src/CommentFieldItemList.php, line 12 Namespace Drupal\

MenuLinkResetForm

Defines a confirmation form for resetting a single modified menu link. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\menu_ui\Form\MenuLinkResetForm File core/modules/menu_ui/src/Form/MenuLinkResetForm.php, line 16

EntityTypeInfo::entityOperation

public EntityTypeInfo::entityOperation(EntityInterface $entity) Adds an operation on bundles that should have a Moderation form. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity on which to define an operation. Return value array An array of operation definitions. See also hook_entity_operation() File core/modules/content_moderation/src/EntityTypeInfo.php, line 195 Class EntityTypeInfo Manipulates entity type information. Namespace Drupal\content_moderation Code pu

drupal_attach_tabledrag

drupal_attach_tabledrag(&$element, array $options) Assists in attaching the tableDrag JavaScript behavior to a themed table. Draggable tables should be used wherever an outline or list of sortable items needs to be arranged by an end-user. Draggable tables are very flexible and can manipulate the value of form elements placed within individual columns. To set up a table to use drag and drop in place of weight select-lists or in place of a form that contains parent relationships, the form mu

ViewEditForm::getDisplayDetails

public ViewEditForm::getDisplayDetails($view, $display) Helper function to get the display details section of the edit UI. Parameters $display: Return value array A renderable page build array. File core/modules/views_ui/src/ViewEditForm.php, line 366 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function getDisplayDetails($view, $display) { $display_title = $this->getDisplayLabel($view, $display['id'], FALSE); $build = array

ContactForm

Defines the contact form entity. Plugin annotation @ConfigEntityType( id = "contact_form", label = @Translation("Contact form"), handlers = { "access" = "Drupal\contact\ContactFormAccessControlHandler", "list_builder" = "Drupal\contact\ContactFormListBuilder", "form" = { "add" = "Drupal\contact\ContactFormEditForm", "edit" = "Drupal\contact\ContactFormEditForm", "delete" = "Drupal\Core\Entity\EntityDeleteForm" } }, config_prefix = "form", admin_perm

locale_translation_source_build

locale_translation_source_build($project, $langcode, $filename = NULL) Builds abstract translation source. Parameters object $project: Project object. string $langcode: Language code. string $filename: (optional) File name of translation file. May contain placeholders. Defaults to the default translation filename from the settings. Return value object Source object: "project": Project name. "name": Project name (inherited from project). "language": Language code. "core": Core version (inh

FilterFormat

Represents a text format. Plugin annotation @ConfigEntityType( id = "filter_format", label = @Translation("Text format"), handlers = { "form" = { "add" = "Drupal\filter\FilterFormatAddForm", "edit" = "Drupal\filter\FilterFormatEditForm", "disable" = "Drupal\filter\Form\FilterDisableForm" }, "list_builder" = "Drupal\filter\FilterFormatListBuilder", "access" = "Drupal\filter\FilterFormatAccessControlHandler", }, config_prefix = "format", admin_permiss

Overview

Provides forum overview form for the forum vocabulary. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\taxonomy\Form\OverviewTermsclass \Drupal\forum\Form\Overview File core/modules/forum/src/Form/Overview.php, line 16 Namespace Drupal\forum\Form Members Name Modifiers Type D

_batch_progress_page

_batch_progress_page() Outputs a batch processing page. See also _batch_process() File core/includes/batch.inc, line 105 Batch processing API for processes to run in multiple HTTP requests. Code function _batch_progress_page() { $batch = &batch_get(); $current_set = _batch_current_set(); $new_op = 'do_nojs'; if (!isset($batch['running'])) { // This is the first page so we return some output immediately. $percentage = 0; $message = $current_set['init_message'];