function drush_http_response_headers_like in HTTP Response Headers 7
Query for similar rule names.
Parameters
string $machine_name: A string rule ID.
1 call to drush_http_response_headers_like()
- drush_http_response_headers_http_header_del in ./
http_response_headers.drush.inc - Deletes a header rule.
File
- ./
http_response_headers.drush.inc, line 324 - HTTP response headers drush command.
Code
function drush_http_response_headers_like($machine_name) {
return drush_db_select('http_response_headers', 'machine_name', 'machine_name LIKE :keyword OR description LIKE :keyword', array(
':keyword' => '%' . $machine_name . '%',
), NULL, NULL, 'machine_name');
}