You are here

public function ContextDefinitionTest::providerGetDataDefinition in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php \Drupal\Tests\Core\Plugin\Context\ContextDefinitionTest::providerGetDataDefinition()

Very simple data provider.

File

core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php, line 25
Contains \Drupal\Tests\Core\Plugin\Context\ContextDefinitionTest.

Class

ContextDefinitionTest
Tests the ContextDefinition class.

Namespace

Drupal\Tests\Core\Plugin\Context

Code

public function providerGetDataDefinition() {
  return array(
    array(
      TRUE,
    ),
    array(
      FALSE,
    ),
  );
}