44 public function __construct(FieldConfigInterface $field_definition, ParagraphInterface $text_entity, array $referenced_entities) {
45 $this->textEntity = $text_entity;
47 $this->settings = $field_definition->getThirdPartySettings(
'paragraphs_editor');
61 return $this->textEntity->{$this->settings[
'text_field']}->value;
68 return $this->textEntity->{$this->settings[
'text_field']}->format;
89 $this->textEntity->{$this->settings[
'text_field']}->value = $markup;
96 $this->textEntity->{$this->settings[
'text_field']}->format = $format;
103 $this->referencedEntities = $entities;
110 $this->referencedEntities[$entity->uuid()] = $entity;
__construct(FieldConfigInterface $field_definition, ParagraphInterface $text_entity, array $referenced_entities)
addReferencedEntity(ParagraphInterface $entity)
setReferencedEntities(array $entities)