modules/admin/models/CategorySearchModel.php
/**
     * Override isDisabled method if you need as shown in the
     * example below. You can override similarly other methods
     * like isActive, isMovable etc.
     */
Override isDisabled method if you need as shown in the
example below. You can override similarly other methods
like isActive, isMovable etc.
Override isDisabled method if you need as shown in the example below . You can override similarly other methods like isActive isMovable etc .
public function isDisabled()
    {
        return false; 
    }
public function isDisabled ( ) { return false ; }
Override isDisabled method if you need as shown in the
 example below.
Override isDisabled method if you need as shown in the example below .
//        if (Yii::$app->user->username !== 'admin') { //            return true; //        } //parent::isDisabled();