You are here

MockBlockStyleBase.php in Block Style Plugins 8.2

Same filename and directory in other branches
  1. 8 tests/src/Unit/Plugin/MockBlockStyleBase.php

File

tests/src/Unit/Plugin/MockBlockStyleBase.php
View source
<?php

namespace Drupal\Tests\block_style_plugins\Unit\Plugin;

use Drupal\block_style_plugins\Plugin\BlockStyleBase;

/**
 * Class MockBlockStyleBase.
 *
 * This class is mostly empty because we need it to unit test base methods in
 * the Abstract BlockStyleBase class.
 *
 * @package Drupal\Tests\block_style_plugins\Unit\Plugin
 */
class MockBlockStyleBase extends BlockStyleBase {

  /**
   * {@inheritdoc}
   */
  public function defaultConfiguration() {
    return [
      'sample_class' => '',
      'sample_checkbox' => FALSE,
    ];
  }

}

Classes

Namesort descending Description
MockBlockStyleBase Class MockBlockStyleBase.