You are here

IndexerExecutionInterface.php in Drupal 7 to 8/9 Module Upgrader 8

File

src/IndexerExecutionInterface.php
View source
<?php

namespace Drupal\drupalmoduleupgrader;

interface IndexerExecutionInterface {

  /**
   * Returns if the specified index object can be evaluated and executed safely.
   *
   * @param string $id
   *   The object identifier.
   *
   * @return bool
   */
  public function hasExecutable($id);
  public function execute($id, array $arguments = []);

}

Interfaces