SubmitButton final class
Minn\Admin\SubmitButton · public/minn/src/Minn/Admin/SubmitButton.php · 37 lines
A settings form's submit input as get_submit_button builds it: "button" and a class for each type (primary, small and large prefixed with "button-", secondary meaning none), the id given among the other attributes or the name, the other attributes escaped one by one (or a string of them as given).
Public
| static | input(string $text, array $types, string $name, array|string $otherAttributes): string# | The input element.
|
Internals 1
Private and protected methods: how the class does its work. Not a contract; they change whenever the code is tidied.
| private | attr(string $value): string# | An attribute value escaped without encoding a reference twice. |
Nothing matches.