BlockStyle.php in Block Style Plugins 8
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\block_style_plugins\AnnotationFile
src/Annotation/BlockStyle.phpView source
<?php
namespace Drupal\block_style_plugins\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a Block style item annotation object.
*
* @see \Drupal\block_style_plugins\Plugin\BlockStyleManager
* @see plugin_api
*
* @Annotation
*/
class BlockStyle extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The label of the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* Block types to exclude.
*
* @var array
*/
public $exclude = [];
/**
* Include only these block types.
*
* @var array
*/
public $include = [];
}
Classes
Name | Description |
---|---|
BlockStyle | Defines a Block style item annotation object. |