You are here

ViewsBreadcrumbBlock.php in Views breadcrumb 8.2

File

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

namespace Drupal\views_breadcrumb\Plugin\Block;

use Drupal\Core\Block\BlockBase;

/**
 * Provides a 'ViewsBreadcrumbBlock' block.
 *
 * @Block(
 *  id = "views_breadcrumb_block",
 *  admin_label = @Translation("Views breadcrumb block"),
 * )
 */
class ViewsBreadcrumbBlock extends BlockBase {

  /**
   * {@inheritdoc}
   */
  public function build() {
    $build = [];
    $build['views_breadcrumb_block']['#markup'] = 'Implement ViewsBreadcrumbBlock.';
    return $build;
  }

}

Classes

Namesort descending Description
ViewsBreadcrumbBlock Provides a 'ViewsBreadcrumbBlock' block.