Custom Page Type Validator
Permalinkhttp://documentation.concrete5.org/developers/working-with-pages/cr...
I would like to validate a Custom Attribute control instead of the core datetime property but not sure how i get this
$controls = Control::getList($this->type); foreach($controls as $control) { if ($control instanceof DateTimeCorePageProperty) {
was thinking of using getPageTypeComposerFormLayoutSetControlCustomLabel() but get errors. Can anyone help please.
