Exemplo n.º 1
0
 /**
  * Renames configurable field
  *
  * @param string $className
  * @param string $fieldName
  * @param string $newFieldName
  * @return bool TRUE if a field was renamed; otherwise, FALSE
  */
 protected function renameField($className, $fieldName, $newFieldName)
 {
     $this->logger->info(sprintf('Rename field "%s" to "%s". Entity: %s.', $fieldName, $newFieldName, $className));
     return $this->configManager->changeFieldName($className, $fieldName, $newFieldName);
 }