setCheckPermissions($checkPermissions); } /** * @param bool $checkPermissions * @return Action\GroupContact\Save */ public static function save($checkPermissions = TRUE) { return (new Action\GroupContact\Save(__CLASS__, __FUNCTION__)) ->setCheckPermissions($checkPermissions); } /** * @param bool $checkPermissions * @return Action\GroupContact\Update */ public static function update($checkPermissions = TRUE) { return (new Action\GroupContact\Update(__CLASS__, __FUNCTION__)) ->setCheckPermissions($checkPermissions); } /** * @return array */ public static function getInfo() { $info = parent::getInfo(); $info['bridge'] = [ 'group_id' => ['description' => ts('Static (non-smart) group contacts')], 'contact_id' => ['description' => ts('Static (non-smart) group contacts')], ]; return $info; } }