OperationBase.php

Same filename in other branches
  1. 9 core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/Operation/test/OperationBase.php
  2. 10 core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/Operation/test/OperationBase.php
  3. 11.x 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

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

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.