public function FieldCollectionItem::uri in Field collection 8
Same name and namespace in other branches
- 8.3 src/Entity/FieldCollectionItem.php \Drupal\field_collection\Entity\FieldCollectionItem::uri()
Overrides \Drupal\Core\Entity\Entity::uri().
File
- src/
Entity/ FieldCollectionItem.php, line 226
Class
- FieldCollectionItem
- Defines the field collection item entity class.
Namespace
Drupal\field_collection\EntityCode
public function uri() {
$ret = [
'path' => 'field-collection-item/' . $this
->id(),
'options' => [
'entity_type' => $this->entityType,
'entity' => $this,
],
];
return $ret;
}