function IconPackExtractorFormTest::testValidateConfigurationForm
Same name and namespace in other branches
- main core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php \Drupal\Tests\Core\Theme\Icon\IconPackExtractorFormTest::testValidateConfigurationForm()
Test the IconPackExtractorForm::validateConfigurationForm method.
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ IconPackExtractorFormTest.php, line 74
Class
Namespace
Drupal\Tests\Core\Theme\IconCode
public function testValidateConfigurationForm() : void {
$form = [];
/** @var \Drupal\Core\Form\FormStateInterface $formState */
$formState = $this->formState
->reveal();
$this->iconPackForm
->validateConfigurationForm($form, $formState);
$this->assertArrayHasKey('plugin_validate_form', $form);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.