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

@@ -19,9 +19,7 @@
* will only have to specify some property information in getPropertyInfo(). If
* you have a custom service class which already returns the extracted fields
* with the search results, you will only have to provide a label and a type for
* each field. To make this use case easier, there is also a
* getFieldInformation() method which you can implement instead of directly
* implementing getPropertyInfo().
* each field.
*/
class SearchApiExternalDataSourceController extends SearchApiAbstractDataSourceController {
@@ -61,16 +59,9 @@ class SearchApiExternalDataSourceController extends SearchApiAbstractDataSourceC
}
/**
* Helper method that can be used by subclasses to specify the property
* information to use when creating a metadata wrapper.
* Overrides SearchApiAbstractDataSourceController::getPropertyInfo().
*
* For most use cases, you will have to override this method to provide the
* real property information for your item type.
*
* @return array
* Property information as specified by hook_entity_property_info().
*
* @see hook_entity_property_info()
* Only returns a single string ID field.
*/
protected function getPropertyInfo() {
$info['property info']['id'] = array(