interface SolrDocumentDefinitionInterface in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/TypedData/SolrDocumentDefinitionInterface.php \Drupal\search_api_solr\TypedData\SolrDocumentDefinitionInterface
- 8.2 src/TypedData/SolrDocumentDefinitionInterface.php \Drupal\search_api_solr\TypedData\SolrDocumentDefinitionInterface
Interface for typed data Solr document definitions.
Hierarchy
- interface \Drupal\Core\TypedData\DataDefinitionInterface
- interface \Drupal\Core\TypedData\ComplexDataDefinitionInterface
- interface \Drupal\search_api_solr\TypedData\SolrDocumentDefinitionInterface
- interface \Drupal\Core\TypedData\ComplexDataDefinitionInterface
Expanded class hierarchy of SolrDocumentDefinitionInterface
All classes that implement SolrDocumentDefinitionInterface
File
- src/
TypedData/ SolrDocumentDefinitionInterface.php, line 10
Namespace
Drupal\search_api_solr\TypedDataView source
interface SolrDocumentDefinitionInterface extends ComplexDataDefinitionInterface {
/**
* Gets the Search API Index ID.
*
* @return string|null
* The Index ID, or NULL if the Index is unknown.
*/
public function getIndexId();
/**
* Sets the Search API Index ID.
*
* @param string $index_id
* The Server ID to set.
*
* @return $this
*/
public function setIndexId(string $index_id);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ComplexDataDefinitionInterface:: |
public | function | Returns the name of the main property, if any. | 2 |
ComplexDataDefinitionInterface:: |
public | function | Gets the definition of a contained property. | 2 |
ComplexDataDefinitionInterface:: |
public | function | Gets an array of property definitions of contained properties. | 2 |
DataDefinitionInterface:: |
public | function | Adds a validation constraint. | 2 |
DataDefinitionInterface:: |
public static | function | Creates a new data definition object. | 2 |
DataDefinitionInterface:: |
public | function | Returns the class used for creating the typed data object. | 2 |
DataDefinitionInterface:: |
public | function | Returns a validation constraint. | 2 |
DataDefinitionInterface:: |
public | function | Returns an array of validation constraints. | 2 |
DataDefinitionInterface:: |
public | function | Returns the data type of the data. | 2 |
DataDefinitionInterface:: |
public | function | Returns a human readable description. | 2 |
DataDefinitionInterface:: |
public | function | Returns a human readable label. | 2 |
DataDefinitionInterface:: |
public | function | Returns the value of a given setting. | 2 |
DataDefinitionInterface:: |
public | function | Returns the array of settings, as required by the used class. | 2 |
DataDefinitionInterface:: |
public | function | Determines whether the data value is computed. | 3 |
DataDefinitionInterface:: |
public | function | Determines whether the data value is internal. | 2 |
DataDefinitionInterface:: |
public | function | Returns whether the data is multi-valued, i.e. a list of data items. | 2 |
DataDefinitionInterface:: |
public | function | Determines whether the data is read-only. | 3 |
DataDefinitionInterface:: |
public | function | Determines whether a data value is required. | 2 |
SolrDocumentDefinitionInterface:: |
public | function | Gets the Search API Index ID. | 1 |
SolrDocumentDefinitionInterface:: |
public | function | Sets the Search API Index ID. | 1 |