public function Tag::getAttachments in Extensible BBCode 4.0.x
Same name and namespace in other branches
- 8.3 src/Entity/Tag.php \Drupal\xbbcode\Entity\Tag::getAttachments()
Return the attachments for this tag.
Return value
array A valid array to put into #attached.
Overrides TagInterface::getAttachments
File
- src/
Entity/ Tag.php, line 154
Class
- Tag
- Represents a custom XBBCode tag that can be altered by administrators.
Namespace
Drupal\xbbcode\EntityCode
public function getAttachments() : array {
return $this->attached;
}