OperationBase.php

Same filename and directory in other branches
  1. 9 core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/Operation/test/OperationBase.php
  2. 8.9.x core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/Operation/test/OperationBase.php
  3. 10 core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/Operation/test/OperationBase.php

Namespace

Drupal\image_test\Plugin\ImageToolkit\Operation\test

File

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

View source
<?php

declare (strict_types=1);
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.
    return TRUE;
  }

}

Classes

Title Deprecated Summary
OperationBase Provides a base class for test operations.

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