Ejemplo n.º 1
0
 /**
  * Prepend the meta title and description fields to the supplied array at the requested point
  *
  * @param array $existingArray containing the array we're inserting elements into
  * @param string $arrayKey containing the key to prepend the meta data fields to
  * @return updated array with the meta fields prepended where requested
  */
 public function prependFormFields($existingArray = array(), $arrayKey = '')
 {
     return ArrayUtil::prependElements($existingArray, $arrayKey, $this->metaDataFields);
 }