public function ParagraphsItemEntity::forceHostEntityType in Paragraphs 7
Function to force change the host entity type of this paragraphs item.
Parameters
string $entity_type: The entity type to force the host to.
File
- ./
ParagraphsItemEntity.inc, line 233
Class
- ParagraphsItemEntity
- Entity implementation for the paragraphs entity.
Code
public function forceHostEntityType($entity_type) {
$this->hostEntityType = $entity_type;
}