10 $f = $DIC->ui()->factory();
11 $renderer = $DIC->ui()->renderer();
13 $button =
$f->button()->standard(
'Unavailable',
'#')->withUnavailableAction();
15 return $renderer->render([$button]);
unavailable_action()
This example provides the given button with an unavailable action.