function TestSearchPage::__construct

Overrides ConfigEntityBase::__construct

File

core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php, line 279

Class

TestSearchPage

Namespace

Drupal\Tests\search\Unit

Code

public function __construct(array $values) {
  foreach ($values as $key => $value) {
    $this->{$key} = $value;
  }
}

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