Exemplo n.º 1
0
 /**
  * @param array|string $options
  *
  * @return string
  */
 protected function renderItem($options)
 {
     if (is_array($options) and isset($options['entity'])) {
         $options['data-entity'] = $options['entity'];
     }
     return parent::renderItem($options);
 }