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

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

Saves icons using a file located in the data store as the source.
public saveIconFromElggFile ( ElggFile $file, string $type = 'icon', array $coords = [] ) : boolean
$file ElggFile An ElggFile instance
$type string The name of the icon. e.g., 'icon', 'cover_photo'
$coords array An array of cropping coordinates x1, y1, x2, y2
Результат boolean
    public function saveIconFromElggFile(\ElggFile $file, $type = 'icon', array $coords = array());