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();

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

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

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

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

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;

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

TranslationStatusForm::buildForm

public TranslationStatusForm::buildForm(array $form, FormStateInterface $form_state) Form builder for displaying the current translation status. Overrides FormInterface::buildForm File core/modules/locale/src/Form/TranslationStatusForm.php, line 65 Class TranslationStatusForm Provides a translation status form. Namespace Drupal\locale\Form Code public function buildForm(array $form, FormStateInterface $form_state) { $languages = locale_translatable_language_list(); $status = locale

CommentManager::$userConfig

The user settings config object. Type: \Drupal\Core\Config\Config File core/modules/comment/src/CommentManager.php, line 53 Class CommentManager Comment manager contains common functions to manage comment fields. Namespace Drupal\comment Code protected $userConfig;