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'];
    }