'status' => [
'draft' => [
'label' => 'Draft',
'transition' => ['ready' ],
'metadata' => [
'labelTemplate' => '{label}'
]
],
public static renderLabel ( |
||
$model | ||
return | string | null | the HTML rendered status or null if not labelTemplate is found |