Skip to content
Snippets Groups Projects
Commit 281e533b authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2002896 by hoZt, heddn: Rename Views method get_channel_elements() to getChannelElements().

parent cd486a65
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -92,7 +92,7 @@ public function buildOptionsForm(&$form, &$form_state) {
* @return
* An array that can be passed to format_xml_elements().
*/
function get_channel_elements() {
protected function getChannelElements() {
return array();
}
......@@ -124,7 +124,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']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment