class TestPluginForm

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php \Drupal\Tests\Core\Plugin\TestPluginForm
  2. 8.9.x core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php \Drupal\Tests\Core\Plugin\TestPluginForm
  3. 11.x core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php \Drupal\Tests\Core\Plugin\TestPluginForm

Hierarchy

Expanded class hierarchy of TestPluginForm

File

core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php, line 488

Namespace

Drupal\Tests\Core\Plugin
View source
class TestPluginForm implements PluginFormInterface {
    
    /**
     * {@inheritdoc}
     */
    public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
        return [];
    }
    
    /**
     * {@inheritdoc}
     */
    public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
    }
    
    /**
     * {@inheritdoc}
     */
    public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
TestPluginForm::buildConfigurationForm public function Form constructor. Overrides PluginFormInterface::buildConfigurationForm
TestPluginForm::submitConfigurationForm public function Form submission handler. Overrides PluginFormInterface::submitConfigurationForm
TestPluginForm::validateConfigurationForm public function Form validation handler. Overrides PluginFormInterface::validateConfigurationForm

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