3 namespace Drupal\paragraphs;
5 use Drupal\user\EntityOwnerInterface;
6 use Drupal\Core\Entity\ContentEntityInterface;
9 * Provides an interface defining a paragraphs entity.
12 interface ParagraphInterface extends ContentEntityInterface, EntityOwnerInterface
16 * Gets the parent entity of the paragraph.
18 * Preserves language context with translated entities.
20 * @return ContentEntityInterface
23 public function getParentEntity();