CommentForm::getEditedFieldNames

protected CommentForm::getEditedFieldNames(FormStateInterface $form_state) Gets the names of all fields edited in the form. If the entity form customly adds some fields to the form (i.e. without using the form display), it needs to add its fields here and override flagViolations() for displaying the violations. Parameters \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value string[] An array of field names. Overrides ContentEntityForm::getEditedFieldNa

MessageInterface::getSubject

public MessageInterface::getSubject() Returns the message subject. Return value string The message subject. File core/modules/contact/src/MessageInterface.php, line 58 Class MessageInterface Provides an interface defining a contact message entity. Namespace Drupal\contact Code public function getSubject();

ThemeSettingsForm

Displays theme configuration for entire site and individual themes. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTraitclass \Drupal\system\Form\ThemeSettingsForm File core/modules/system/src/Form/ThemeSettingsForm.php, line 19 Namespace D

Vocabulary::$description

Description of the vocabulary. Type: string File core/modules/taxonomy/src/Entity/Vocabulary.php, line 70 Class Vocabulary Defines the taxonomy vocabulary entity. Namespace Drupal\taxonomy\Entity Code protected $description;

SelectLanguageForm::buildForm

public SelectLanguageForm::buildForm(array $form, FormStateInterface $form_state, $install_state = NULL) 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 FormInterface::buildForm File core/lib/Drupal/Core/Installer/Form/SelectLanguageForm.php, line 29 Class SelectLanguageForm Provides the language selection f

ThemeSettingsForm::create

public static ThemeSettingsForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The servic

FeedItemsDeleteForm

Provides a deletion confirmation form for items that belong to a feed. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityCo

Schema::addField

public Schema::addField($table, $field, $spec, $keys_new = array()) Add a new field to a table. Parameters $table: Name of the table to be altered. $field: Name of the field to be added. $spec: The field specification array, as taken from a schema definition. The specification may also contain the key 'initial', the newly created field will be set to the value of the key in all rows. This is most useful for creating NOT NULL columns with no default value in existing tables. Alternatively, the

EntityTypeInterface

Provides an interface for an entity type and its metadata. Additional information can be provided by modules: hook_entity_type_build() can be implemented to define new properties, while hook_entity_type_alter() can be implemented to alter existing data and fill-in defaults. Module-specific properties should be documented in the hook implementations defining them. Hierarchy interface \Drupal\Component\Plugin\Definition\PluginDefinitionInterfaceinterface \Drupal\Core\Entity\EntityTypeInterface

InsertTrait::$table

The table on which to insert. Type: string File core/lib/Drupal/Core/Database/Query/InsertTrait.php, line 17 Class InsertTrait Provides common functionality for INSERT and UPSERT queries. Namespace Drupal\Core\Database\Query Code protected $table;