Elgg\EntityIcon::hasIcon PHP Метод

hasIcon() публичный Метод

Returns if the entity has an icon of the passed type.
public hasIcon ( string $size, string $type = 'icon' ) : boolean
$size string The size of the icon
$type string The name of the icon. e.g., 'icon', 'cover_photo'
Результат boolean
    public function hasIcon($size, $type = 'icon');