class BasicFormNoContainerInjectionInterface

Hierarchy

Expanded class hierarchy of BasicFormNoContainerInjectionInterface

File

core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php, line 562

Namespace

Drupal\Tests\Core\Entity
View source
class BasicFormNoContainerInjectionInterface implements FormInterface {
  
  /**
   * {@inheritdoc}
   */
  public function getFormId() {
    return '';
  }
  
  /**
   * {@inheritdoc}
   */
  public function buildForm(array $form, FormStateInterface $form_state, ?EntityInterface $entity_test = NULL) {
    return [];
  }
  
  /**
   * {@inheritdoc}
   */
  public function validateForm(array &$form, FormStateInterface $form_state) {
  }
  
  /**
   * {@inheritdoc}
   */
  public function submitForm(array &$form, FormStateInterface $form_state) {
  }

}

Members


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.