BlockContentDeriverTest::$baseDefinition

Same name in other branches
  1. 10 core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php \Drupal\Tests\block_content\Kernel\BlockContentDeriverTest::baseDefinition

The definition array of the base plugin.

Type: array

File

core/modules/block_content/tests/src/Kernel/BlockContentDeriverTest.php, line 30

Class

BlockContentDeriverTest
Tests block content plugin deriver.

Namespace

Drupal\Tests\block_content\Kernel

Code

protected $baseDefinition = [
    'id' => 'block_content',
    'provider' => 'block_content',
    'class' => '\\Drupal\\block_content\\Plugin\\Block\\BlockContentBlock',
    'deriver' => '\\Drupal\\block_content\\Plugin\\Derivative\\BlockContent',
];

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