protected function ElasticsearchViewsEntityField::getParentPath in Elasticsearch Connector 8.5
Same name and namespace in other branches
- 8.7 modules/elasticsearch_connector_views/src/Plugin/views/field/ElasticsearchViewsEntityField.php \Drupal\elasticsearch_connector_views\Plugin\views\field\ElasticsearchViewsEntityField::getParentPath()
- 8.2 modules/elasticsearch_connector_views/src/Plugin/views/field/ElasticsearchViewsEntityField.php \Drupal\elasticsearch_connector_views\Plugin\views\field\ElasticsearchViewsEntityField::getParentPath()
- 8.6 modules/elasticsearch_connector_views/src/Plugin/views/field/ElasticsearchViewsEntityField.php \Drupal\elasticsearch_connector_views\Plugin\views\field\ElasticsearchViewsEntityField::getParentPath()
Retrieves the property path of the parent property.
Return value
string|null The property path of the parent property.
1 call to ElasticsearchViewsEntityField::getParentPath()
- ElasticsearchViewsEntityField::query in modules/
elasticsearch_connector_views/ src/ Plugin/ views/ field/ ElasticsearchViewsEntityField.php - Called to add the field to a query.
File
- modules/
elasticsearch_connector_views/ src/ Plugin/ views/ field/ ElasticsearchViewsEntityField.php, line 81
Class
- ElasticsearchViewsEntityField
- Displays entity field data.
Namespace
Drupal\elasticsearch_connector_views\Plugin\views\fieldCode
protected function getParentPath() {
if (!isset($this->parentPath)) {
$combined_property_path = $this
->getCombinedPropertyPath();
list(, $property_path) = Utility::splitCombinedId($combined_property_path);
list($this->parentPath) = Utility::splitPropertyPath($property_path);
}
return $this->parentPath;
}