protected function InsertFileWidgetUtility::retrieveStyles in Insert 8
Return value
array
3 calls to InsertFileWidgetUtility::retrieveStyles()
- InsertFileWidgetUtility::retrieveInsertStyles in src/
Utility/ InsertFileWidgetUtility.php - InsertFileWidgetUtility::settingsForm in src/
Utility/ InsertFileWidgetUtility.php - InsertImageWidgetUtility::retrieveStyles in src/
Utility/ InsertImageWidgetUtility.php - @inheritdoc
1 method overrides InsertFileWidgetUtility::retrieveStyles()
- InsertImageWidgetUtility::retrieveStyles in src/
Utility/ InsertImageWidgetUtility.php - @inheritdoc
File
- src/
Utility/ InsertFileWidgetUtility.php, line 346
Class
Namespace
Drupal\insert\UtilityCode
protected function retrieveStyles() {
$stylesList = [];
$stylesList['link'] = [
'label' => t('Link to file'),
'weight' => -12,
];
$stylesList['icon_link'] = [
'label' => t('Link to file (with icon)'),
'weight' => -11,
];
return $stylesList;
}