public function SolrDocument::onChange in Search API Solr 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/DataType/SolrDocument.php \Drupal\search_api_solr\Plugin\DataType\SolrDocument::onChange()
- 4.x src/Plugin/DataType/SolrDocument.php \Drupal\search_api_solr\Plugin\DataType\SolrDocument::onChange()
React to changes to a child property or item.
Note that this is invoked after any changes have been applied.
Parameters
$name: The name of the property or the delta of the list item which is changed.
Overrides TraversableTypedDataInterface::onChange
File
- src/
Plugin/ DataType/ SolrDocument.php, line 161
Class
- SolrDocument
- Defines the "Solr document" data type.
Namespace
Drupal\search_api_solr\Plugin\DataTypeCode
public function onChange($name) {
// Do nothing. Unlike content entities, Items don't need to be notified of
// changes.
}