chore(payment): NHN KCP와 NICE 결제 플러그인 개발 브랜치 분리
정식 develop에서는 기본 번들 정책에 따라 제거된 결제 플러그인을 별도 개발 브랜치에서 계속 유지보수할 수 있도록 복원한다.
This commit is contained in:
1 parent
49b21e788c
commit
657f546efc
651 files changed
+49118
-20476
No files matched your search
@@ -1011,30 +1011,6 @@ abstract class AbstractPlugin implements CacheableExtensionInterface, PluginInte
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 빌드된 에셋의 절대 파일 경로를 반환합니다.
|
||||
*
|
||||
* `getBuiltAssetPaths()` 는 plugin.json 의 상대 output 경로를 돌려주므로
|
||||
* 파일을 실제로 읽으려면 플러그인 루트(`getPluginPath()`: 활성 dir 또는
|
||||
* `_bundled` 실제 위치)를 앞에 붙여야 한다. 서버측 번들 병합
|
||||
* (ExtensionBundleService)이 `getAssetFilePath()` 의
|
||||
* `base_path("plugins/{id}/...")` 하드코딩을 복제하지 않고 `_bundled`
|
||||
* 확장에서도 정확한 경로를 얻도록 이 게터를 SSoT 로 쓴다.
|
||||
*
|
||||
* @return array 빌드된 에셋 절대 경로 배열 ['js' => '...', 'css' => '...']
|
||||
*/
|
||||
public function getBuiltAssetAbsolutePaths(): array
|
||||
{
|
||||
$relative = $this->getBuiltAssetPaths();
|
||||
$result = [];
|
||||
|
||||
foreach ($relative as $kind => $output) {
|
||||
$result[$kind] = $this->getPluginPath().'/'.$output;
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* 플러그인이 설정 페이지를 가지고 있는지 확인합니다.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user