25 self::$possible_sizes,
26 implode(
"/", self::$possible_sizes)
29 $this->name =
'custom';
checkArgIsElement($which, $value, $array, $name)
Throw an InvalidArgumentException if $value is not an element of array.
trait ComponentHelper
Provides common functionality for component implementations.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
checkBoolArg($which, $value)
Throw an InvalidArgumentException if $value is not a bool.
__construct($icon_path, $aria_label, $size, $is_disabled)