示例#1
0
文件: Roles.php 项目: isramv/camp-gdl
 /**
  * Override empty and not empty operator labels to be clearer for user roles.
  */
 function operators()
 {
     $operators = parent::operators();
     $operators['empty']['title'] = $this->t("Only has the 'authenticated user' role");
     $operators['not empty']['title'] = $this->t("Has roles in addition to 'authenticated user'");
     return $operators;
 }