You are here

function apachesolr_confgen_clone_qp in Apache Solr Config Generator 7

Same name and namespace in other branches
  1. 6 apachesolr_confgen.module \apachesolr_confgen_clone_qp()

File

./apachesolr_confgen.module, line 92
Generator for Apache Solr Configuration Files.

Code

function apachesolr_confgen_clone_qp($qp) {
  return qp($qp
    ->find(':root')
    ->xml(), NULL, array(
    'use_parser' => 'xml',
  ));
}