Contao\BackendUser::canEditFieldsOf PHP Method

canEditFieldsOf() public method

Return true if there is at least one allowed excluded field
public canEditFieldsOf ( string $table ) : boolean
$table string
return boolean
    public function canEditFieldsOf($table)
    {
        if ($this->isAdmin) {
            return true;
        }
        return count(preg_grep('/^' . preg_quote($table, '/') . '::/', $this->alexf)) > 0;
    }