Returns the icon file entity.
\Drupal\file\FileInterface|false The icon's file entity or FALSE if icon does not exist.
Overrides ParagraphsTypeInterface::getIconFile
public function getIconFile() {
if ($this->icon_uuid !== NULL) {
$icon = $this
->getFileByUuid($this->icon_uuid) ?: $this
->restoreDefaultIcon();
if ($icon) {
return $icon;
}
}
return FALSE;
}