61 $form->unique(
"code",
"A tool hint already exists with that code.");
62 $form->required(
"code",
"title",
"hint");
71 $form->annotate(
"code",
"Code field changes will require changes to existing lookups in the code base.");
75 $form->annotate(
"code",
"Please provide the code as all lowercase letters and link words with an underscore (e.g., my_code)");
78 $form->annotate(
"title",
"The title to display in the tool hint popup.");
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
static getRolesArray()
Retrieves the array of roles and their names for the current site for use in a CMS form.
$method
Pull out a simple reference to the request method.