MetaModels\DcGeneral\Events\Table\InputScreens\InputScreenAddAllHandler::accepts PHP Method

accepts() protected method

Test if the passed attribute is acceptable.
protected accepts ( MetaModels\Attribute\IAttribute $attribute ) : boolean
$attribute MetaModels\Attribute\IAttribute The attribute to check.
return boolean
    protected function accepts($attribute)
    {
        if (!$attribute->get('id')) {
            return false;
        }
        return true;
    }
InputScreenAddAllHandler