Commit 5c093487 authored by alexpott's avatar alexpott

Issue #2002438 by theladebug, malcomio, heddn: Rename Views method...

Issue #2002438 by theladebug, malcomio, heddn: Rename Views method default_action() to defaultAction().
parent 863a9bd8
...@@ -651,7 +651,7 @@ public function defaultSummaryForm(&$form, &$form_state) { ...@@ -651,7 +651,7 @@ public function defaultSummaryForm(&$form, &$form_state) {
* A boolean value; if TRUE, continue building this view. If FALSE, * A boolean value; if TRUE, continue building this view. If FALSE,
* building the view will be aborted here. * building the view will be aborted here.
*/ */
function default_action($info = NULL) { public function defaultAction($info = NULL) {
if (!isset($info)) { if (!isset($info)) {
$info = $this->defaultActions($this->options['default_action']); $info = $this->defaultActions($this->options['default_action']);
} }
...@@ -673,7 +673,7 @@ function default_action($info = NULL) { ...@@ -673,7 +673,7 @@ function default_action($info = NULL) {
*/ */
public function validateFail() { public function validateFail() {
$info = $this->defaultActions($this->options['validate']['fail']); $info = $this->defaultActions($this->options['validate']['fail']);
return $this->default_action($info); return $this->defaultAction($info);
} }
/** /**
* Default action: ignore. * Default action: ignore.
......
...@@ -914,7 +914,7 @@ protected function _buildArguments() { ...@@ -914,7 +914,7 @@ protected function _buildArguments() {
} }
else { else {
// determine default condition and handle. // determine default condition and handle.
$status = $argument->default_action(); $status = $argument->defaultAction();
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment