GetDKAN/dkan

View on GitHub
modules/datastore/src/Service/ResourceProcessorInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace Drupal\datastore\Service;

use Drupal\common\DataResource;

/**
 * Resource processor to be run after import.
 */
interface ResourceProcessorInterface {

  /**
   * Process the given datastore resource.
   *
   * @param \Drupal\common\DataResource $resource
   *   Datastore resource.
   */
  public function process(DataResource $resource): void;

}