diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/Rss.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/Rss.php index 7fb9822..6cc0da0 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/style/Rss.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/Rss.php @@ -88,7 +88,7 @@ public function buildOptionsForm(&$form, &$form_state) { * @return * An array that can be passed to format_xml_elements(). */ - function get_channel_elements() { + public function getChannelElements() { return array(); } @@ -120,7 +120,7 @@ function render() { // Fetch any additional elements for the channel and merge in their // namespaces. - $this->channel_elements = $this->get_channel_elements(); + $this->channel_elements = $this->getChannelElements(); foreach ($this->channel_elements as $element) { if (isset($element['namespace'])) { $this->namespaces = array_merge($this->namespaces, $element['namespace']);