Javascript
class Javascript implements WebPreconditionInterface (View source)
Methods
string
getName()
Get the precondition name.
string
getUniqueIdentifier()
Get the precondition handle.
bool
isOptional()
Is this an optional precondition?
int|null
getInitialState()
Get the initial state of the precondition.
string
getInitialMessage()
Get the initial message of the precondition.
getHtml()
Get the HTML used to check the precondition.
performCheck()
Get the precondition result.
getAjaxAnswer(string $argument)
Get the answer of ajax calls.
Details
string
getName()
Get the precondition name.
string
getUniqueIdentifier()
Get the precondition handle.
bool
isOptional()
Is this an optional precondition?
int|null
getInitialState()
Get the initial state of the precondition.
string
getInitialMessage()
Get the initial message of the precondition.
getHtml()
Get the HTML used to check the precondition.
PreconditionResult
performCheck()
Get the precondition result.
getAjaxAnswer(string $argument)
Get the answer of ajax calls.