Skip to content

Commit 3be047a

Browse files
function name changed
1 parent d397810 commit 3be047a

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Config/Block/System/Config

1 file changed

+2
-2
lines changed

app/code/Magento/Config/Block/System/Config/Form.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ protected function _initElement(
369369

370370
$sharedClass = $this->_getSharedCssClass($field);
371371
$requiresClass = $this->_getRequiresCssClass($field, $fieldPrefix);
372-
$isReadOnly = $this->getReadOnly($field, $path);
372+
$isReadOnly = $this->isReadOnly($field, $path);
373373

374374
$formField = $fieldset->addField(
375375
$elementId,
@@ -806,7 +806,7 @@ private function getAppConfig()
806806
* @param string $path
807807
* @return boolean
808808
*/
809-
private function getReadOnly(\Magento\Config\Model\Config\Structure\Element\Field $field, $path)
809+
private function isReadOnly(\Magento\Config\Model\Config\Structure\Element\Field $field, $path)
810810
{
811811
$isReadOnly = $this->settingChecker->isReadOnly(
812812
$path, ScopeConfigInterface::SCOPE_TYPE_DEFAULT

0 commit comments

Comments
 (0)