protected function ExposedFormTest::getExpectedExposedFormId in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php \Drupal\Tests\views\Functional\Plugin\ExposedFormTest::getExpectedExposedFormId()
- 9 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.
File
- core/
modules/ views/ tests/ src/ Functional/ Plugin/ ExposedFormTest.php, line 441
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);
}