diff --git a/src/IndexInterface.php b/src/IndexInterface.php index 54dec64..78f9d3b 100644 --- a/src/IndexInterface.php +++ b/src/IndexInterface.php @@ -276,8 +276,21 @@ interface IndexInterface extends ConfigEntityInterface { */ public function getProcessorsByStage($stage, $only_enabled = TRUE); + /** + * Sets processor settings. + * + * @param array $processors + * An array of processors and it's settings. + * @return $this + */ public function setProcessorSettings(array $processors); + /** + * Gets processor settings. + * + * @return array + * An array of processors and it's settings. + */ public function getProcessorSettings(); /** diff --git a/src/Tests/HooksTest.php b/src/Tests/HooksTest.php index a22760e..09d79ca 100644 --- a/src/Tests/HooksTest.php +++ b/src/Tests/HooksTest.php @@ -35,7 +35,7 @@ class HooksTest extends WebTestBase { /** * Tests various operations via the Search API's admin UI. */ - public function x__testHooks() { + public function testHooks() { // Create some nodes. $this->drupalCreateNode(array('type' => 'page', 'title' => 'node - 1')); $this->drupalCreateNode(array('type' => 'page', 'title' => 'node - 2'));