FormElementHelper
class FormElementHelper (View source)
Provides common functionality for form elements.
Methods
static array
getElementByName(string $name, array $form)
Retrieves a form element.
static string
getElementTitle(array $element)
Returns the title for the element.
Details
static array
getElementByName(string $name, array $form)
Retrieves a form element.
static string
getElementTitle(array $element)
Returns the title for the element.
If the element has no title, this will recurse through all children of the element until a title is found.