Advertisement
Guest User

Untitled

a guest
Jun 27th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4.  * @file
  5.  * Contains \Drupal\wkbe\Plugin\Block\YUNO.
  6.  */
  7.  
  8. namespace Drupal\wkbe\Plugin\Block;
  9.  
  10. use Drupal\Core\Block\BlockBase;
  11.  
  12. /**
  13.  * Class YUNO
  14.  * @package Drupal\wkbe\Plugin\Block
  15.  *
  16.  * @Block(
  17.  *   id = "y_u_no",
  18.  *   admin_label = @Translation("Y U NO?!"),
  19.  * )
  20.  */
  21. class YUNO extends BlockBase {
  22.   /**
  23.    * {@inheritdoc}
  24.    */
  25.   public function build() {
  26.     return array(
  27.       '#markup' => 'Y U NO?!',
  28.     );
  29.   }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement