function DisplayVariantTest::testAccess
Tests the access() method.
@covers ::access
File
-
core/
tests/ Drupal/ Tests/ Core/ Display/ DisplayVariantTest.php, line 125
Class
- DisplayVariantTest
- @coversDefaultClass \Drupal\Core\Display\VariantBase[[api-linebreak]] @group Display
Namespace
Drupal\Tests\Core\DisplayCode
public function testAccess() {
$display_variant = $this->setUpDisplayVariant();
$this->assertTrue($display_variant->access());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.