Loading block_example/lib/Drupal/block_example/Plugin/Block/ExampleConfigurableTextBlock.php +3 −4 Changes for block_example/lib/Drupal/block_example/Plugin/Block/ExampleConfigurableTextBlock.php: 3 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -7,18 +7,17 @@ namespace Drupal\block_example\Plugin\Block; use Drupal\block\Annotation\Block; use Drupal\block\BlockBase; use Drupal\Core\Annotation\Translation; use Drupal\Component\Annotation\Plugin; /** * Provides a 'Example: configurable text string' block. * * @Plugin( * @Block( * id = "example_configurable_text", * subject = @Translation("Title of first block (example_configurable_text)"), * admin_label = @Translation("Title of first block (example_configurable_text)"), * module = "block_example" * admin_label = @Translation("Title of first block (example_configurable_text)") * ) */ class ExampleConfigurableTextBlock extends BlockBase { Loading block_example/lib/Drupal/block_example/Plugin/Block/ExampleEmptyBlock.php +3 −4 Changes for block_example/lib/Drupal/block_example/Plugin/Block/ExampleEmptyBlock.php: 3 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -7,18 +7,17 @@ namespace Drupal\block_example\Plugin\Block; use Drupal\block\Annotation\Block; use Drupal\block\BlockBase; use Drupal\Core\Annotation\Translation; use Drupal\Component\Annotation\Plugin; /** * Provides a 'Example: empty block' block. * * @Plugin( * @Block( * id = "example_empty", * subject = @Translation("Example: empty block"), * admin_label = @Translation("Example: empty block"), * module = "block_example" * admin_label = @Translation("Example: empty block") * ) */ class ExampleEmptyBlock extends BlockBase { Loading block_example/lib/Drupal/block_example/Plugin/Block/ExampleUppercaseBlock.php +3 −4 Changes for block_example/lib/Drupal/block_example/Plugin/Block/ExampleUppercaseBlock.php: 3 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -7,18 +7,17 @@ namespace Drupal\block_example\Plugin\Block; use Drupal\block\Annotation\Block; use Drupal\block\BlockBase; use Drupal\Core\Annotation\Translation; use Drupal\Component\Annotation\Plugin; /** * Provides a 'Example: uppercase this please' block. * * @Plugin( * @Block( * id = "example_uppercase", * subject = @Translation("uppercase this please"), * admin_label = @Translation("Example: uppercase this please"), * module = "block_example" * admin_label = @Translation("Example: uppercase this please") * ) */ class ExampleUppercaseBlock extends BlockBase { Loading Loading
block_example/lib/Drupal/block_example/Plugin/Block/ExampleConfigurableTextBlock.php +3 −4 Changes for block_example/lib/Drupal/block_example/Plugin/Block/ExampleConfigurableTextBlock.php: 3 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -7,18 +7,17 @@ namespace Drupal\block_example\Plugin\Block; use Drupal\block\Annotation\Block; use Drupal\block\BlockBase; use Drupal\Core\Annotation\Translation; use Drupal\Component\Annotation\Plugin; /** * Provides a 'Example: configurable text string' block. * * @Plugin( * @Block( * id = "example_configurable_text", * subject = @Translation("Title of first block (example_configurable_text)"), * admin_label = @Translation("Title of first block (example_configurable_text)"), * module = "block_example" * admin_label = @Translation("Title of first block (example_configurable_text)") * ) */ class ExampleConfigurableTextBlock extends BlockBase { Loading
block_example/lib/Drupal/block_example/Plugin/Block/ExampleEmptyBlock.php +3 −4 Changes for block_example/lib/Drupal/block_example/Plugin/Block/ExampleEmptyBlock.php: 3 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -7,18 +7,17 @@ namespace Drupal\block_example\Plugin\Block; use Drupal\block\Annotation\Block; use Drupal\block\BlockBase; use Drupal\Core\Annotation\Translation; use Drupal\Component\Annotation\Plugin; /** * Provides a 'Example: empty block' block. * * @Plugin( * @Block( * id = "example_empty", * subject = @Translation("Example: empty block"), * admin_label = @Translation("Example: empty block"), * module = "block_example" * admin_label = @Translation("Example: empty block") * ) */ class ExampleEmptyBlock extends BlockBase { Loading
block_example/lib/Drupal/block_example/Plugin/Block/ExampleUppercaseBlock.php +3 −4 Changes for block_example/lib/Drupal/block_example/Plugin/Block/ExampleUppercaseBlock.php: 3 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -7,18 +7,17 @@ namespace Drupal\block_example\Plugin\Block; use Drupal\block\Annotation\Block; use Drupal\block\BlockBase; use Drupal\Core\Annotation\Translation; use Drupal\Component\Annotation\Plugin; /** * Provides a 'Example: uppercase this please' block. * * @Plugin( * @Block( * id = "example_uppercase", * subject = @Translation("uppercase this please"), * admin_label = @Translation("Example: uppercase this please"), * module = "block_example" * admin_label = @Translation("Example: uppercase this please") * ) */ class ExampleUppercaseBlock extends BlockBase { Loading