src/FieldHandlers/RelatedFieldTrait.php
protected function _getInputIcon(array $properties) : string
    {
        $config = (new ModuleConfig(ConfigType::MODULE(), $properties['controller']))->parseToArray();

        if (! isset($config['table'])) {
            return Configure::read('CsvMigrations.default_icon');
        }

        if (! isset($config['table']['icon'])) {
            return Configure::read('CsvMigrations.default_icon');
        }

        return $config['table']['icon'];
    }
protected function _getInputIcon(array $properties) : string
    {
        $config = (new ModuleConfig(ConfigType::MODULE(), $properties['controller']))->parseToArray();

        if (! isset($config['table'])) {
            return Configure::read('CsvMigrations.default_icon');
        }

        if (! isset($config['table']['icon'])) {
            return Configure::read('CsvMigrations.default_icon');
        }

        return $config['table']['icon'];
    }
protected function _getInputIcon ( array $ properties ) : string { $ config = ( new ModuleConfig ( ConfigType :: MODULE ( ) , $ properties [ 'controller' ] ) ) -> parseToArray ( ) ; if ( ! isset ( $ config [ 'table' ] ) ) { return Configure :: read ( 'CsvMigrations.default_icon' ) ; } if ( ! isset ( $ config [ 'table' ] [ 'icon' ] ) ) { return Configure :: read ( 'CsvMigrations.default_icon' ) ; } return $ config [ 'table' ] [ 'icon' ] ; }
Get input field associated icon

@param mixed[] $properties Input properties
@return string
Get input field associated icon