ReorderDocument
extends Form
in package
implements
InputFilterProviderInterface
Table of Contents
Interfaces
- InputFilterProviderInterface
Properties
- $translator : Translator
Methods
- __construct() : mixed
- getInputFilterSpecification() : array<string|int, mixed>
- setTranslator() : self
- setupElements() : self
- generateIcon() : string
- Returns an icon as a HTML string.
Properties
$translator
protected
Translator
$translator
Methods
__construct()
public
__construct([string|null $name = null ][, array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $name : string|null = null
- $options : array<string|int, mixed> = []
Tags
getInputFilterSpecification()
public
getInputFilterSpecification() : array<string|int, mixed>
Return values
array<string|int, mixed>setTranslator()
public
setTranslator(Translator $translator) : self
Parameters
- $translator : Translator
Return values
selfsetupElements()
public
setupElements() : self
Return values
selfgenerateIcon()
Returns an icon as a HTML string.
private
static generateIcon(string $className, string $title) : string
FUTURE: Think of a better way to show icons in the label. Icons are layout and shouldn't be defined in the Form.
Parameters
- $className : string
-
FontAwesome class
- $title : string
-
Element title