src/ngrest/base/Plugin.php
public function onListFind($event)
    {
        if ($this->isAttributeWriteable($event) && $this->onBeforeListFind($event)) {
            if ($this->i18n) {
                $event->sender->setAttribute($this->name, $this->i18nDecodedGetActive($this->i18nFieldDecode($event->sender->getAttribute($this->name), $this->i18nEmptyValue)));
            }
            $this->onAfterListFind($event);
        }
    }
public function onListFind($event)
    {
        if ($this->isAttributeWriteable($event) && $this->onBeforeListFind($event)) {
            if ($this->i18n) {
                $event->sender->setAttribute($this->name, $this->i18nDecodedGetActive($this->i18nFieldDecode($event->sender->getAttribute($this->name), $this->i18nEmptyValue)));
            }
            $this->onAfterListFind($event);
        }
    }
public function onListFind ( $ event ) { if ( $ this -> isAttributeWriteable ( $ event ) && $ this -> onBeforeListFind ( $ event ) ) { if ( $ this -> i18n ) { $ event -> sender -> setAttribute ( $ this -> name , $ this -> i18nDecodedGetActive ( $ this -> i18nFieldDecode ( $ event -> sender -> getAttribute ( $ this -> name ) , $ this -> i18nEmptyValue ) ) ) ; } $ this -> onAfterListFind ( $ event ) ; } }
This event is only trigger when returning the ngrest crud list data. If the property of this plugin inside the model, the event will not be triggered.

@param \luya\admin\ngrest\base\NgRestModel::EVENT_AFTER_NGREST_FIND $event The NgRestModel after ngrest find event.
This event is only trigger when returning the ngrest crud list data . If the property of this plugin inside the model the event will not be triggered .