You are here

function _insert_get_style_label in Insert 8.2

Parameters

array|ImageStyle $style:

Return value

string

1 call to _insert_get_style_label()
_insert_field_process in ./insert.module
Form API callback: Processes a file field element.

File

./insert.module, line 343

Code

function _insert_get_style_label($style) {
  return is_array($style) ? $style['label'] : $style
    ->label();
}