Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @file
- * Contains \Drupal\wkbe\Plugin\Block\YUNO.
- */
- namespace Drupal\wkbe\Plugin\Block;
- use Drupal\Core\Block\BlockBase;
- /**
- * Class YUNO
- * @package Drupal\wkbe\Plugin\Block
- *
- * @Block(
- * id = "y_u_no",
- * admin_label = @Translation("Y U NO?!"),
- * )
- */
- class YUNO extends BlockBase {
- /**
- * {@inheritdoc}
- */
- public function build() {
- return array(
- '#markup' => 'Y U NO?!',
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement