/** * Scaffold the ExternalURLField for this ExternalURL */ public function scaffoldFormField($title = null, $params = null) { $field = new ExternalURLField($this->name, $title); $field->setMaxLength($this->getSize()); return $field; }