function BlockInvalidRegionTestCase::getInfo

File

modules/block/block.test, line 842

Class

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

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',
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.