ContextBlockOptional.php in Core Context 8
File
tests/modules/core_context_test/src/Plugin/Block/ContextBlockOptional.php
View source
<?php
namespace Drupal\core_context_test\Plugin\Block;
class ContextBlockOptional extends ContextBlock {
}
Classes
Name |
Description |
ContextBlockOptional |
Plugin annotation
@Block(
id = "context_block_optional",
admin_label = @Translation("Optional context block"),
context_definitions = {
"value" = @ContextDefinition("any", required = FALSE),
"letter" = @ContextDefinition("string",… |