This repository has been archived by the owner on May 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaddon.setup.php
49 lines (48 loc) · 2.45 KB
/
addon.setup.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
require_once __DIR__ . '/constants.php';
require_once __DIR__ . '/libraries/model/content/npr_audio.php';
require_once __DIR__ . '/libraries/model/content/npr_audio_format.php';
require_once __DIR__ . '/libraries/model/content/npr_byline.php';
require_once __DIR__ . '/libraries/model/content/npr_html_asset.php';
require_once __DIR__ . '/libraries/model/content/npr_image.php';
require_once __DIR__ . '/libraries/model/content/npr_image_crop.php';
require_once __DIR__ . '/libraries/model/content/npr_permalink.php';
require_once __DIR__ . '/libraries/model/content/npr_organization.php';
require_once __DIR__ . '/libraries/model/content/npr_pull_correction.php';
require_once __DIR__ . '/libraries/model/content/npr_pull_quote.php';
require_once __DIR__ . '/libraries/model/content/npr_related_link.php';
require_once __DIR__ . '/libraries/model/content/npr_story.php';
require_once __DIR__ . '/libraries/model/content/npr_text_paragraph.php';
require_once __DIR__ . '/libraries/model/content/npr_thumbnail.php';
use IllinoisPublicMedia\NprStoryApi\Constants;
return array(
'author' => Constants::AUTHOR,
'author_url' => Constants::AUTHOR_URL,
'name' => Constants::NAME,
'description' => Constants::DESCRIPTION,
'namespace' => Constants::NAMESPACE,
'version' => Constants::VERSION,
'settings_exist' => true,
'models' => array(
'Npr_audio' => 'Libraries\Model\Content\Npr_audio',
'Npr_audio_format' => 'Libraries\Model\Content\Npr_audio_format',
'Npr_byline' => 'Libraries\Model\Content\Npr_byline',
'Npr_html_asset' => 'Libraries\Model\Content\Npr_html_asset',
'Npr_image' => 'Libraries\Model\Content\Npr_image',
'Npr_image_crop' => 'Libraries\Model\Content\Npr_image_crop',
'Npr_permalink' => 'Libraries\Model\Content\Npr_permalink',
'Npr_organization' => 'Libraries\Model\Content\Npr_organization',
'Npr_pull_correction' => 'Libraries\Model\Content\Npr_pull_correction',
'Npr_pull_quote' => 'Libraries\Model\Content\Npr_pull_quote',
'Npr_related_link' => 'Libraries\Model\Content\Npr_related_link',
'Npr_story' => 'Libraries\Model\Content\Npr_story',
'Npr_text_paragraph' => 'Libraries\Model\Content\Npr_text_paragraph',
'Npr_thumbnail' => 'Libraries\Model\Content\Npr_thumbnail',
),
'models.dependencies' => array(
'Npr_story' => array(
'ee:ChannelEntry',
),
),
)
?>