You are here

OperationBase.php in Drupal 8

File

core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/Operation/test/OperationBase.php
View source
<?php

namespace Drupal\image_test\Plugin\ImageToolkit\Operation\test;

use Drupal\Core\ImageToolkit\ImageToolkitOperationBase;

/**
 * Provides a base class for test operations.
 */
abstract class OperationBase extends ImageToolkitOperationBase {

  /**
   * {@inheritdoc}
   */
  public function arguments() {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  public function execute(array $arguments) {

    // Nothing to do.
  }

}

Classes

Namesort descending Description
OperationBase Provides a base class for test operations.