ContactFormEditForm::form

public ContactFormEditForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/contact/src/ContactFormEditForm.php, line 69 Class ContactFormEditForm Base form for contact form edit forms. Namespace Drupal\contact Code public function form(array $form, FormStateInterface $form_state) { $form = parent::

Role::$label

The human-readable label of this role. Type: string File core/modules/user/src/Entity/Role.php, line 61 Class Role Defines the user role entity class. Namespace Drupal\user\Entity Code protected $label;

Insert::__toString

public Insert::__toString() Implements PHP magic __toString method to convert the query to a string. Return value string The prepared statement. Overrides Insert::__toString File core/lib/Drupal/Core/Database/Driver/sqlite/Insert.php, line 28 Class Insert SQLite implementation of \Drupal\Core\Database\Query\Insert. Namespace Drupal\Core\Database\Driver\sqlite Code public function __toString() { // Create a sanitized comment string to prepend to the query. $comments = $this->con

ShortcutSetForm

Form handler for the shortcut set entity edit forms. 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\BundleEntityFormBaseclass \Drupal\shortcut\ShortcutSetForm File core/modules/shortcut/src/ShortcutSetForm.ph

drupal_get_module_schema

drupal_get_module_schema($module, $table = NULL) Returns a module's schema. This function can be used to retrieve a schema specification in hook_schema(), so it allows you to derive your tables from existing specifications. Parameters string $module: The module to which the table belongs. string $table: The name of the table. If not given, the module's complete schema is returned. Related topics Schema API API to handle database schemas. File core/includes/schema.inc, line 156 Schema API han

EditorImageDialog

Provides an image dialog for text editors. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\editor\Form\EditorImageDialog File core/modules/editor/src/Form/EditorImageDialog.php, line 19 Namespace Drupal\editor\Form Members Name Modifiers Type Description DependencySerializat

SetFormCommand

Provides an AJAX command for setting a form submit URL in modal forms. This command is implemented in Drupal.AjaxCommands.prototype.viewsSetForm. Hierarchy class \Drupal\views_ui\Ajax\SetFormCommand implements CommandInterface File core/modules/views_ui/src/Ajax/SetFormCommand.php, line 12 Namespace Drupal\views_ui\Ajax Members Name Modifiers Type Description SetFormCommand::$url protected property The URL of the form. SetFormCommand::render public function Retur

ActionManager

Provides an Action plugin manager. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\Core\Action\ActionManager implements CategorizingPluginManagerInterface uses CategorizingPluginManagerTrait See also \Drupal\Core\Annotation\Action

hook_form_BASE_FORM_ID_alter

hook_form_BASE_FORM_ID_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) Provide a form-specific alteration for shared ('base') forms. Implementations are responsible for adding cache contexts/tags/max-age as needed. See https://www.drupal.org/developing/api/8/cache. By default, when \Drupal::formBuilder()->getForm() is called, Drupal looks for a function with the same name as the form ID, and uses that function to build the form. In contrast, base forms allow mul

DateTimeComputed

A computed property for dates of date time field items. Required settings (below the definition's 'settings' key) are: date source: The date property containing the to be computed date. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\datetime\DateTimeComputed File core/modules/datetime/src/DateTimeComputed.php, line 16 Namespace Drupal\datetime Members Name Modifier