GridFieldAddNewMultiClass::__construct PHP Method

__construct() public method

public __construct ( string $fragment = 'before' )
$fragment string the fragment to render the button in
    public function __construct($fragment = 'before')
    {
        $this->setFragment($fragment);
        $this->setTitle(_t('GridFieldExtensions.ADD', 'Add'));
    }