public function SolrDocument::toArray in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/DataType/SolrDocument.php \Drupal\search_api_solr\Plugin\DataType\SolrDocument::toArray()
- 8.2 src/Plugin/DataType/SolrDocument.php \Drupal\search_api_solr\Plugin\DataType\SolrDocument::toArray()
Returns an array of all property values.
Gets an array of plain property values including all not-computed properties.
Return value
array An array of property values, keyed by property name.
Throws
\Drupal\Core\TypedData\Exception\MissingDataException If the complex data structure is unset and no property can be created.
Overrides ComplexDataInterface::toArray
File
- src/
Plugin/ DataType/ SolrDocument.php, line 147
Class
- SolrDocument
- Defines the "Solr document" data type.
Namespace
Drupal\search_api_solr\Plugin\DataTypeCode
public function toArray() {
// @todo Implement this.
}