upadted to 1.8

This commit is contained in:
Bachir Soussi Chiadmi
2013-09-26 15:49:26 +02:00
parent e0ae80791b
commit 128640cd15
52 changed files with 2604 additions and 1015 deletions

View File

@@ -22,7 +22,7 @@ class SearchApiAlterNodeAccess extends SearchApiAbstractAlterCallback {
*/
public function supportsIndex(SearchApiIndex $index) {
// Currently only node access is supported.
return $index->item_type === 'node';
return $index->getEntityType() === 'node';
}
/**