return $messages;
}
+ /**
+ * Check for required mbstring extension
+ * @return array
+ */
+ public function checkMbstring() {
+ $messages = array();
+
+ if (!function_exists('mb_substr')) {
+ $messages[] = new CRM_Utils_Check_Message(
+ __FUNCTION__,
+ ts('The required PHP Multibyte String extension is not enabled on your server. Ask your system administrator to install it.'),
+ ts('Missing mbstring Extension'),
+ \Psr\Log\LogLevel::ERROR,
+ 'fa-server'
+ );
+ }
+ return $messages;
+ }
+
}