EntityDisplayModeAddForm::buildForm

public EntityDisplayModeAddForm::buildForm(array $form, FormStateInterface $form_state, $entity_type_id = 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 EntityForm::buildForm File core/modules/field_ui/src/Form/EntityDisplayModeAddForm.php, line 23 Class EntityDisplayModeAddForm Provides the add form

views_views_data_alter

views_views_data_alter(&$data) Implements hook_views_data_alter(). Field modules can implement hook_field_views_data_views_data_alter() to alter the views data on a per field basis. This is weirdly named so as not to conflict with the \Drupal::moduleHandler()->alter('field_views_data') in views_views_data(). File core/modules/views/views.views.inc, line 207 Provide views data that isn't tied to any other module. Code function views_views_data_alter(&$data) { $entity_manager = \Dr

_drupal_error_handler_real

_drupal_error_handler_real($error_level, $message, $filename, $line, $context) Provides custom PHP error handling. Parameters $error_level: The level of the error raised. $message: The error message. $filename: The filename that the error was raised in. $line: The line number the error was raised at. $context: An array that points to the active symbol table at the point the error occurred. File core/includes/errors.inc, line 60 Functions for error handling. Code function _drupal_error_handle

Message::getContactForm

public Message::getContactForm() Returns the form this contact message belongs to. Return value \Drupal\contact\ContactFormInterface The contact form entity. Overrides MessageInterface::getContactForm File core/modules/contact/src/Entity/Message.php, line 46 Class Message Defines the contact message entity. Namespace Drupal\contact\Entity Code public function getContactForm() { return $this->get('contact_form')->entity; }

EntityForm::getBaseFormId

public EntityForm::getBaseFormId() Returns a string identifying the base form. Return value string|null The string identifying the base form or NULL if this is not a base form. Overrides BaseFormIdInterface::getBaseFormId File core/lib/Drupal/Core/Entity/EntityForm.php, line 72 Class EntityForm Base class for entity forms. Namespace Drupal\Core\Entity Code public function getBaseFormId() { // Assign ENTITYTYPE_form as base form ID to invoke corresponding // hook_form_alter(), #val

ViewsExposedForm

Defines a Plugin annotation object for views exposed form plugins. Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\views\Annotation\ViewsPluginAnnotationBase implements AnnotationInterfaceclass \Drupal\views\Annotation\ViewsExposedForm See also \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginBase Related topics Annotations Annotations for class discovery and metadata

ContentTranslationDeleteForm::getFormId

public ContentTranslationDeleteForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides EntityForm::getFormId File core/modules/content_translation/src/Form/ContentTranslationDeleteForm.php, line 17 Class ContentTranslationDeleteForm Delete translation form for content_translation module. Namespace Drupal\content_translation\Form Code public function getFormId() { return 'content_translation_delete_confirm'

RouteBuilderInterface::rebuildIfNeeded

public RouteBuilderInterface::rebuildIfNeeded() Rebuilds the route information if necessary, and dumps it. Return value bool Returns TRUE if the rebuild occurs, FALSE otherwise. File core/lib/Drupal/Core/Routing/RouteBuilderInterface.php, line 38 Class RouteBuilderInterface Rebuilds the route information and dumps it. Namespace Drupal\Core\Routing Code public function rebuildIfNeeded();

Database::RETURN_AFFECTED

Flag to indicate a query call should return the number of affected rows. File core/lib/Drupal/Core/Database/Database.php, line 30 Class Database Primary front-controller for the database system. Namespace Drupal\Core\Database Code const RETURN_AFFECTED = 2;

EntityBundleListener::__construct

public EntityBundleListener::__construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, EntityFieldManagerInterface $entity_field_manager, ModuleHandlerInterface $module_handler) Constructs a new EntityBundleListener. Parameters \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager. \Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info. \Drupal\Core