You are here

public static function RequiredByRoleTest::getInfo in Required by role 8

Method getInfo.

Return value

array Information regarding to the tests.

File

src/Tests/Plugin/Required/RequiredByRoleTest.php, line 37
Contains \Drupal\required_by_role\Tests\Plugin\Required\RequiredByRoleTest.

Class

RequiredByRoleTest
Tests the requird_by_role plugin.

Namespace

Drupal\required_by_role\Tests\Plugin\Required

Code

public static function getInfo() {
  return [
    'name' => 'Required by role plugin',
    'description' => 'Test the required by role logic.',
    'group' => 'Required API',
  ];
}