src/Toolbar/ToolbarHelper.php
public static function delete($title = null)
    {
        $toolbar = Toolbar::getInstance(self::$_toolbar);
        $title   = (empty($title)) ? __d('core', 'Delete') : $title;

        $toolbar->appendButton('Core.action', $title, self::ACTION_DELETE, []);
    }
public static function delete($title = null)
    {
        $toolbar = Toolbar::getInstance(self::$_toolbar);
        $title   = (empty($title)) ? __d('core', 'Delete') : $title;

        $toolbar->appendButton('Core.action', $title, self::ACTION_DELETE, []);
    }
public static function delete ( $ title = null ) { $ toolbar = Toolbar :: getInstance ( self :: $ _toolbar ) ; $ title = ( empty ( $ title ) ) ? __d ( 'core' , 'Delete' ) : $ title ; $ toolbar -> appendButton ( 'Core.action' , $ title , self :: ACTION_DELETE , [ ] ) ; }
Delete for process form.

@param string|null $title
@return void
Delete for process form .