youtubechannelblock.php in YoutubeChannel 8
Same filename and directory in other branches
Namespace
Drupal\youtubechannel\Plugin\BlockFile
src/Plugin/Block/youtubechannelblock.phpView 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
Name | Description |
---|---|
Youtubechannelblock |