PanelizerTestBlock.php in Panelizer 8.3
Same filename and directory in other branches
Namespace
Drupal\panelizer_test\Plugin\BlockFile
tests/modules/panelizer_test/src/Plugin/Block/PanelizerTestBlock.phpView source
<?php
namespace Drupal\panelizer_test\Plugin\Block;
use Drupal\Core\Block\BlockBase;
/**
* A test block used in the Panelizer functional tests.
*
* @Block(
* id = "panelizer_test",
* admin_label = @Translation("Panelizer test block")
* )
*/
class PanelizerTestBlock extends BlockBase {
/**
* {@inheritdoc}
*/
public function build() {
return [
'#markup' => 'Abracadabra',
];
}
}
Classes
Name | Description |
---|---|
PanelizerTestBlock | A test block used in the Panelizer functional tests. |