src/Utils/ConfigReader.php
public function getConfigForEntity($entity)
    {
        if (is_object($entity)) {
            $entityClass = self::getEntityClass($entity);
        } else {
            $entityClass = $entity;
        }
        if (array_key_exists($entityClass, $this->config)) {
            return $this->config[$entityClass];
        }

        return array();
    }
public function getConfigForEntity($entity)
    {
        if (is_object($entity)) {
            $entityClass = self::getEntityClass($entity);
        } else {
            $entityClass = $entity;
        }
        if (array_key_exists($entityClass, $this->config)) {
            return $this->config[$entityClass];
        }

        return array();
    }
public function getConfigForEntity ( $ entity ) { if ( is_object ( $ entity ) ) { $ entityClass = self :: getEntityClass ( $ entity ) ; } else { $ entityClass = $ entity ; } if ( array_key_exists ( $ entityClass , $ this -> config ) ) { return $ this -> config [ $ entityClass ] ; } return array ( ) ; }
Returns the custom field config for the given entity

@param object|string entity or class of entity

@return array config of entity
Returns the custom field config for the given entity