src/Action/BaseAction.php
public function implementedEvents()
    {
        $events = parent::implementedEvents();

        $events['Crud.beforeRender'][] = ['callable' => [$this, 'publishSuccess']];

        if (method_exists($this, 'viewVar')) {
            $events['Crud.beforeRender'][] = ['callable' => [$this, 'publishViewVar']];
        }

        return $events;
    }
public function implementedEvents()
    {
        $events = parent::implementedEvents();

        $events['Crud.beforeRender'][] = ['callable' => [$this, 'publishSuccess']];

        if (method_exists($this, 'viewVar')) {
            $events['Crud.beforeRender'][] = ['callable' => [$this, 'publishViewVar']];
        }

        return $events;
    }
public function implementedEvents ( ) { $ events = parent :: implementedEvents ( ) ; $ events [ 'Crud.beforeRender' ] [ ] = [ 'callable' => [ $ this , 'publishSuccess' ] ] ; if ( method_exists ( $ this , 'viewVar' ) ) { $ events [ 'Crud.beforeRender' ] [ ] = [ 'callable' => [ $ this , 'publishViewVar' ] ] ; } return $ events ; }
Additional auxiliary events emitted if certain traits are loaded

@return array
Additional auxiliary events emitted if certain traits are loaded