youtubechannelblock.php in YoutubeChannel 8.3
Same filename and directory in other branches
Namespace
Drupal\youtubechannel\Plugin\BlockFile
src/Plugin/Block/youtubechannelblock.phpView source
<?php
namespace Drupal\youtubechannel\Plugin\Block;
use Drupal\Core\Block\BlockBase;
use Drupal\Core\Block\BlockPluginInterface;
/**
* @Block(
* id = "youtubechannel_block",
* admin_label = @Translation("Youtube Channel"),
* )
*/
class Youtubechannelblock extends BlockBase {
/**
* {@inheritdoc}
*/
public function build() {
return [
'#theme' => 'youtubechannel_block',
];
}
}
Classes
Name![]() |
Description |
---|---|
Youtubechannelblock | Plugin annotation @Block( id = "youtubechannel_block", admin_label = @Translation("Youtube Channel"), ) |