Craft\AmForms_FormElementType::defineAvailableTableAttributes PHP Method

defineAvailableTableAttributes() public method

Returns the attributes that can be shown/sorted by in table views.
public defineAvailableTableAttributes ( string | null $source = null ) : array
$source string | null
return array
    public function defineAvailableTableAttributes($source = null)
    {
        return array('name' => Craft::t('Name'), 'handle' => Craft::t('Handle'), 'numberOfFields' => Craft::t('Number of fields'), 'totalSubmissions' => Craft::t('Total submissions'));
    }