Issue #2003316 by toddtomlinson, mari3.14: Rename Views method retrieve_validated_view() to retrieveValidatedView().

8.0.x
Alex Pott 2013-05-29 07:07:45 +01:00
parent 6778f6ccb9
commit 9b64d30af8
1 changed files with 2 additions and 2 deletions

View File

@ -1118,7 +1118,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
* @return Drupal\views_ui\ViewUI $view * @return Drupal\views_ui\ViewUI $view
* The validated view object. * The validated view object.
*/ */
protected function retrieve_validated_view(array $form, array &$form_state, $unset = TRUE) { protected function retrieveValidatedView(array $form, array &$form_state, $unset = TRUE) {
// @todo Figure out why all this hashing is done. Wouldn't it be easier to // @todo Figure out why all this hashing is done. Wouldn't it be easier to
// store a single entry and that's it? // store a single entry and that's it?
$key = hash('sha256', serialize($form_state['values'])); $key = hash('sha256', serialize($form_state['values']));
@ -1164,7 +1164,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
* Implements Drupal\views\Plugin\views\wizard\WizardInterface::create_view(). * Implements Drupal\views\Plugin\views\wizard\WizardInterface::create_view().
*/ */
function create_view(array $form, array &$form_state) { function create_view(array $form, array &$form_state) {
$view = $this->retrieve_validated_view($form, $form_state); $view = $this->retrieveValidatedView($form, $form_state);
if (empty($view)) { if (empty($view)) {
throw new WizardException('Attempted to create_view with values that have not been validated.'); throw new WizardException('Attempted to create_view with values that have not been validated.');
} }