CodeExplorer setSearchAble example
if (!\
is_string($className) || !
class_exists($className) || !
$this->
implementsFieldInterface($className)) { $className = DummyField::
class;
} $class->
setType(new $className());
if (isset($field['showListing'
])) { $class->
setShowListing($field['showListing'
]);
} if (isset($field['searchAble'
])) { $class->
setSearchAble($field['searchAble'
]);
} if (isset($field['translatable'
])) { $class->
setTranslatable((bool) $field['translatable'
]);
} if (isset($field['description'
])) { $class->
setDescription($field['description'
]);
} if (isset($field['helpText'
])) {