function IconPackExtractorFormTest::testSubmitConfigurationForm
Test the IconPackExtractorForm::submitConfigurationForm method.
File
-
core/
tests/ Drupal/ Tests/ Core/ Theme/ Icon/ IconPackExtractorFormTest.php, line 84
Class
- IconPackExtractorFormTest
- @coversDefaultClass \Drupal\Core\Theme\Icon\IconPackExtractorForm
Namespace
Drupal\Tests\Core\Theme\IconCode
public function testSubmitConfigurationForm() : void {
$form = [];
/** @var \Drupal\Core\Form\FormStateInterface $formState */
$formState = $this->formState
->reveal();
$this->iconPackForm
->submitConfigurationForm($form, $formState);
$this->assertArrayHasKey('plugin_submit_form', $form);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.