You are here

youtubechannelblock.php in YoutubeChannel 8

File

src/Plugin/Block/youtubechannelblock.php
View source
<?php

/**
 *
 * @Block(
 *   id = "youtubechannel_block",
 *   admin_label = @Translation("Youtube Channel Block"),
 * )
 */
namespace Drupal\youtubechannel\Plugin\Block;

use Drupal\Core\Block\BlockBase;
use Drupal\Core\Block\BlockPluginInterface;
class Youtubechannelblock extends BlockBase {

  /**
   * {@inheritdoc}
   */
  public function build() {
    return [
      '#theme' => 'youtubechannel_block',
    ];

    //return $build;
  }

}
?>

 
<?php

Classes