Commit cb1e2dfb authored by alexpott's avatar alexpott

Issue #2002366 by Gang Wang, Dan Reinders: Rename Views method...

Issue #2002366 by Gang Wang, Dan Reinders: Rename Views method block_display_options() to blockDisplayOptions().
parent a17c65c0
......@@ -111,10 +111,10 @@ protected function page_display_options(array $form, array &$form_state) {
}
/**
* Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::page_display_options().
* Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::blockDisplayOptions().
*/
protected function block_display_options(array $form, array &$form_state) {
$display_options = parent::block_display_options($form, $form_state);
protected function blockDisplayOptions(array $form, array &$form_state) {
$display_options = parent::blockDisplayOptions($form, $form_state);
$row_plugin = isset($form_state['values']['block']['style']['row_plugin']) ? $form_state['values']['block']['style']['row_plugin'] : NULL;
$row_options = isset($form_state['values']['block']['style']['row_options']) ? $form_state['values']['block']['style']['row_options'] : array();
$this->display_options_row($display_options, $row_plugin, $row_options);
......
......@@ -205,8 +205,8 @@ protected function page_display_options(array $form, array &$form_state) {
/**
* Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::page_display_options().
*/
protected function block_display_options(array $form, array &$form_state) {
$display_options = parent::block_display_options($form, $form_state);
protected function blockDisplayOptions(array $form, array &$form_state) {
$display_options = parent::blockDisplayOptions($form, $form_state);
$row_plugin = isset($form_state['values']['block']['style']['row_plugin']) ? $form_state['values']['block']['style']['row_plugin'] : NULL;
$row_options = isset($form_state['values']['block']['style']['row_options']) ? $form_state['values']['block']['style']['row_options'] : array();
$this->display_options_row($display_options, $row_plugin, $row_options);
......
......@@ -671,7 +671,7 @@ protected function buildDisplayOptions($form, $form_state) {
// Display: Block
if (!empty($form_state['values']['block']['create'])) {
$display_options['block'] = $this->block_display_options($form, $form_state);
$display_options['block'] = $this->blockDisplayOptions($form, $form_state);
}
return $display_options;
......@@ -1000,7 +1000,7 @@ protected function page_display_options(array $form, array &$form_state) {
* @return array
* Returns an array of display options.
*/
protected function block_display_options(array $form, array &$form_state) {
protected function blockDisplayOptions(array $form, array &$form_state) {
$display_options = array();
$block = $form_state['values']['block'];
$display_options['title'] = $block['title'];
......
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