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'));
}