config.php リファレンス
最終更新日: 2024年7月15日
- トピック:
- 設定
作成対象:
- 経験者
- 管理者
- 開発者
config.php
ファイルには、次のセクションが含まれます。
名前 | 説明 |
---|---|
i18n | すべてのインライン翻訳データ。 このセクションからの読み取りはサポートされていません。 |
modules | 有効なモジュールと無効なモジュールのリスト。 |
scopes | ストア、ストアグループ、web サイトのリストと関連情報。 |
system | 静的なコンテンツのデプロイメントに必要なシステム設定。 |
themes | インストールされたテーマの設定。 |
モジュール
モジュールとその状態の配列が含まれます。 モジュールが有効の場合、値は 1 です。 それ以外の場合、値は 0 です。
'modules' => [
'Magento_Store' => 1,
'Magento_Theme' => 0,
'Magento_Backend' => 0,
'Magento_Eav' => 1
]
名前 | 説明 |
---|---|
websites | Web サイト設定 |
groups | 設定を保存 |
stores | ビューの保存の設定 |
'scopes' => [
'websites' => [
'admin' => [
'website_id' => '0',
'code' => 'admin',
'name' => 'Admin',
'sort_order' => '0',
'default_group_id' => '0',
'is_default' => '0'
]
],
'groups' => [
0 => [
'group_id' => '0',
'website_id' => '0',
'code' => 'default',
'name' => 'Default',
'root_category_id' => '0',
'default_store_id' => '0'
]
],
'stores' => [
'admin' => [
'store_id' => '0',
'code' => 'admin',
'website_id' => '0',
'group_id' => '0',
'name' => 'Admin',
'sort_order' => '0',
'is_active' => '1'
]
]
]
'system'=> [
'default' =>[
'checkout' => [
'cart' => [
'delete_quote_after' => 31
]
]
]
]
システム固有の設定の詳細情報。
テーマ
テーマ設定の値の配列が含まれます。
'themes' => [
'frontend/Magento/luma' => [
'parent_id' => 'Magento/blank',
'theme_path' => 'Magento/luma',
'theme_title' => 'Magento Luma',
'is_featured' => '0',
'area' => 'frontend',
'type' => '0',
'code' => 'Magento/luma'
]
]
テーマの詳細情報。
recommendation-more-help
386822bd-e32c-40a8-81c2-ed90ad1e198c