You are here

protected property BasicTest::$namePlugins in Plug 7

Expected output for default name plugins.

Type: array

Overrides BaseTest::$namePlugins

File

modules/plug_example/lib/Drupal/plug_example/Tests/BasicTest.php, line 19
Basic tests cases for plug_example module.

Class

BasicTest

Namespace

Drupal\plug_example\Tests

Code

protected $namePlugins = array(
  // Check that John is not a company, modified in hook_name_plugin_alter().
  'My name is: John Doe',
  'My name is: John Doe',
  'My name is: Mom',
  'Company name: Acme Inc.',
  'Company name: Acme Inc.',
);