+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
+ | Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*/
/**
* Access Control EntityRole.
*/
class CRM_ACL_BAO_EntityRole extends CRM_ACL_DAO_EntityRole {
- static $_entityTable = NULL;
+ public static $_entityTable = NULL;
/**
* Get entity table.
*/
public static function entityTable() {
if (!self::$_entityTable) {
- self::$_entityTable = array(
+ self::$_entityTable = [
'civicrm_contact' => ts('Contact'),
'civicrm_group' => ts('Group'),
- );
+ ];
}
return self::$_entityTable;
}