protected function ExposedFormTest::getExpectedExposedFormId in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php \Drupal\Tests\views\Functional\Plugin\ExposedFormTest::getExpectedExposedFormId()
Returns a views exposed form ID.
Parameters
\Drupal\views\ViewExecutable $view: The view to create an ID for.
Return value
string The form ID.
1 call to ExposedFormTest::getExpectedExposedFormId()
- ExposedFormTest::testExposedBlock in core/
modules/ views/ tests/ src/ Functional/ Plugin/ ExposedFormTest.php - Tests the exposed block functionality.
File
- core/
modules/ views/ tests/ src/ Functional/ Plugin/ ExposedFormTest.php, line 437
Class
- ExposedFormTest
- Tests exposed forms functionality.
Namespace
Drupal\Tests\views\Functional\PluginCode
protected function getExpectedExposedFormId(ViewExecutable $view) {
return Html::cleanCssIdentifier('views-exposed-form-' . $view->storage
->id() . '-' . $view->current_display);
}