public function SecuresiteManager::parseDirectives in Secure Site 8
1 call to SecuresiteManager::parseDirectives()
File
- src/
SecuresiteManager.php, line 568 - Contains \Drupal\securesite\SecuresiteManager.
Class
Namespace
Drupal\securesiteCode
public function parseDirectives($field_value) {
$directives = array();
foreach (explode(',', trim($field_value)) as $directive) {
list($directive, $value) = explode('=', trim($directive), 2);
$directives[$directive] = trim($value, '"');
}
return $directives;
}