Example #1
0
 /**
  * Get the "update" code for the form field, i.e. configuring the FormField object
  * after instantiation
  *
  * @return string
  */
 public function getUpdate()
 {
     if ($yml = $this->getConfig()) {
         if ($content = $yml->getUpdate()) {
             $template = new BedrockTemplate(SilverSmithUtil::tabify($content));
             $template->bind($this);
             return $template->render();
         }
     }
 }