TestAddForm.php
Same filename in other branches
- 9 core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php
- 8.9.x core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php
- 10 core/modules/media_library/tests/modules/media_library_form_overwrite_test/src/Form/TestAddForm.php
Namespace
Drupal\media_library_form_overwrite_test\FormFile
-
core/
modules/ media_library/ tests/ modules/ media_library_form_overwrite_test/ src/ Form/ TestAddForm.php
View source
<?php
declare (strict_types=1);
namespace Drupal\media_library_form_overwrite_test\Form;
use Drupal\Core\Form\FormStateInterface;
use Drupal\media_library\Form\AddFormBase;
/**
* Test add form.
*/
class TestAddForm extends AddFormBase {
/**
* {@inheritdoc}
*/
protected function buildInputElement(array $form, FormStateInterface $form_state) {
return [];
}
/**
* {@inheritdoc}
*/
public function getFormId() {
return 'test_add_form';
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
TestAddForm | Test add form. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.