예제 #1
0
 /**
  * Get the initial config data before applying any decorators.
  *
  * @param array $params
  *
  * @return mixed
  */
 public function getBasicConfig($params = [])
 {
     return parent::getBasicConfig($params) + ['user' => ['text' => str_limit($params['user_name'], 15), 'route' => 'user.show', 'params' => [$params['user_id']]]];
 }
예제 #2
0
 /**
  * Get the initial config data before applying any decorators.
  *
  * @param array $params
  *
  * @return mixed
  */
 public function getBasicConfig($params = [])
 {
     return parent::getBasicConfig($params) + ['edit' => ['text' => 'Update', 'route' => '', 'params' => [$params['user_id']]]];
 }
예제 #3
0
 /**
  * Get the initial config data before applying any decorators.
  *
  * @param array $params
  *
  * @return mixed
  */
 public function getBasicConfig($params = [])
 {
     return parent::getBasicConfig($params) + ['create' => ['text' => 'Create', 'route' => '', 'params' => []]];
 }