Backend Modul Worpress Import added
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
declare(strict_types=1);
|
||||
|
||||
use Evomedien\Vitec\Controller\Backend\ImportController;
|
||||
use Evomedien\Vitec\Controller\Backend\WordPressImportController;
|
||||
use Evomedien\Vitec\Controller\OgImageController;
|
||||
|
||||
return [
|
||||
@@ -35,6 +36,28 @@ return [
|
||||
],
|
||||
],
|
||||
],
|
||||
'web_vitecwpimport' => [
|
||||
'parent' => 'web',
|
||||
'position' => ['after' => 'web_vitecimport'],
|
||||
'access' => 'user',
|
||||
'workspaces' => 'live',
|
||||
'path' => '/module/web/vitec-wp-import',
|
||||
'labels' => [
|
||||
'title' => 'WordPress Import',
|
||||
'shortDescription' => 'Imports WordPress blog posts as news records',
|
||||
],
|
||||
'extensionName' => 'Vitec',
|
||||
'iconIdentifier' => 'vitec-wpimport',
|
||||
'routes' => [
|
||||
'_default' => [
|
||||
'target' => WordPressImportController::class . '::indexAction',
|
||||
],
|
||||
'import' => [
|
||||
'target' => WordPressImportController::class . '::importAction',
|
||||
'methods' => ['POST'],
|
||||
],
|
||||
],
|
||||
],
|
||||
'web_vitecogimage' => [
|
||||
'parent' => 'web',
|
||||
'position' => ['after' => 'web_info'],
|
||||
|
||||
@@ -88,6 +88,10 @@ return [
|
||||
'provider' => SvgIconProvider::class,
|
||||
'source' => 'EXT:vitec/Resources/Public/Icons/vitec-import.svg',
|
||||
],
|
||||
'vitec-wpimport' => [
|
||||
'provider' => SvgIconProvider::class,
|
||||
'source' => 'EXT:vitec/Resources/Public/Icons/vitec-wpimport.svg',
|
||||
],
|
||||
'vitec-plugin-customerlogos' => [
|
||||
'provider' => SvgIconProvider::class,
|
||||
'source' => 'EXT:vitec/Resources/Public/Icons/vitec-plugin-customerlogos.svg',
|
||||
|
||||
Reference in New Issue
Block a user