You are here

TestBlock.php in Schema.org Metatag 8

File

schema_audit/src/Plugin/Block/TestBlock.php
View source
<?php

namespace Drupal\schema_audit\Plugin\Block;

use Drupal\Core\Block\BlockBase;

/**
 * Provides a 'TestBlock' block.
 *
 * @Block(
 *  id = "test_block",
 *  admin_label = @Translation("Test structured data on Google."),
 * )
 */
class TestBlock extends BlockBase {

  /**
   * {@inheritdoc}
   */
  public function build() {
    $build = [
      '#markup' => $this
        ->t('This report is deprecated.'),
    ];
    return $build;
  }

}

Classes

Namesort descending Description
TestBlock Provides a 'TestBlock' block.