function ExposedFilterBlocksUpdateTest::testViewsPostUpdateExposedFilterBlocks
Tests that exposed filter blocks label display are disabled.
File
-
core/
modules/ views/ tests/ src/ Functional/ Update/ ExposedFilterBlocksUpdateTest.php, line 30
Class
- ExposedFilterBlocksUpdateTest
- Tests that the additional settings are added to the entity link field.
Namespace
Drupal\Tests\views\Functional\UpdateCode
public function testViewsPostUpdateExposedFilterBlocks() {
$this->runUpdates();
// Assert the label display has been disabled after the update.
$block = Block::load('exposedformtest_exposed_blockpage_1');
$config = $block->getPlugin()
->getConfiguration();
$this->assertEquals('0', $config['label_display']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.