You are here

public function SearchByPageTesterTest::search_by_page_test_block_info in Search by Page 8

Implements hook_block_info().

Sets up two test blocks.

File

tests/src/Functional/SearchByPageTesterTest.php, line 525
General Functional Tests for the Search by Page module. By Jennifer Hodgdon of Poplar ProductivityWare, www.poplarware.com

Class

SearchByPageTesterTest
Base class for testing Search by Page.

Namespace

Drupal\Tests\search_by_page\Functional

Code

public function search_by_page_test_block_info() {
  return array(
    'cat' => array(
      'info' => t('Pet block 1'),
    ),
    'dog' => array(
      'info' => t('Pet block 2'),
    ),
  );
}