- /**
- * 2017-12-12
- * 1) "@uses \Magento\Config\Model\Config\Structure\AbstractElement::getPath()
- * ignores a custom `config_path` value": https://mage2.pro/t/5148
- * 2) @uses df_config_field() returns a flyweight: https://en.wikipedia.org/wiki/Flyweight_pattern
- * @return string
- */
- function df_config_field_path() {
- $f = df_config_field(); /** @var Field $f */
- return $f->getConfigPath() ?: $f->getPath();
- }