class OperationBase

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/Operation/test/OperationBase.php \Drupal\image_test\Plugin\ImageToolkit\Operation\test\OperationBase

Provides a base class for test operations.

Hierarchy

Expanded class hierarchy of OperationBase

File

core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/Operation/test/OperationBase.php, line 10

Namespace

Drupal\image_test\Plugin\ImageToolkit\Operation\test
View source
abstract class OperationBase extends ImageToolkitOperationBase {
  
  /**
   * {@inheritdoc}
   */
  public function arguments() {
    return [];
  }
  
  /**
   * {@inheritdoc}
   */
  public function execute(array $arguments) {
    // Nothing to do.
    return TRUE;
  }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.