public static function BlockInvalidRegionTest::getInfo

File

drupal/core/modules/block/lib/Drupal/block/Tests/BlockInvalidRegionTest.php, line 24
Definition of Drupal\block\Tests\BlockInvalidRegionTest.

Class

BlockInvalidRegionTest
Tests that a block assigned to an invalid region triggers the warning.

Namespace

Drupal\block\Tests

Code

public static function getInfo() {
  return array(
    'name' => 'Blocks in invalid regions',
    'description' => 'Checks that an active block assigned to a non-existing region triggers the warning message and is disabled.',
    'group' => 'Block',
  );
}