class BasicFormNoContainerInjectionInterface

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicFormNoContainerInjectionInterface
  2. 10 core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicFormNoContainerInjectionInterface
  3. 11.x core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php \Drupal\Tests\Core\Entity\BasicFormNoContainerInjectionInterface

Hierarchy

Expanded class hierarchy of BasicFormNoContainerInjectionInterface

File

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

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.