function TextProcessed::getAttachments

Same name and namespace in other branches
  1. main core/modules/text/src/TextProcessed.php \Drupal\text\TextProcessed::getAttachments()

Overrides AttachmentsTrait::getAttachments

File

core/modules/text/src/TextProcessed.php, line 122

Class

TextProcessed
A computed property for processing text with a format.

Namespace

Drupal\text

Code

public function getAttachments() {
  $this->getValue();
  $this->addAttachments($this->processed
    ->getAttachments());
  return $this->attachments;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.