Extend the base class to add a method that will set the head tags for a form plugin. The intent is that users of form plugins can build them during prepareView for content chunking, and push links and scripts out in the head block, rather than in the body to assist with validation.
This commit is contained in:
parent
093f7d67e9
commit
397d0db245
1 changed files with 12 additions and 0 deletions
|
|
@ -464,6 +464,18 @@ sub getValueFromPost {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 headTags ( )
|
||||
|
||||
Set any head tags that this form plugin needs for CSS or Javascript.
|
||||
|
||||
=cut
|
||||
|
||||
sub headTags {
|
||||
return '';
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 isDynamicCompatible ( )
|
||||
|
||||
A class method that returns a boolean indicating whether this control is compatible with the DynamicField control. Returns 0.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue