|
1 | 1 | <?php |
2 | 2 |
|
3 | 3 | return [ |
4 | | - // Datatype for primary keys of your models. |
5 | | - // used in migrations only |
6 | | - 'primary_keys_type' => 'integer', // 'string' or 'integer' |
7 | | - |
8 | | - // Value of are passed through this before save of tags |
9 | | - 'normalizer' => '\Conner\Tagging\TaggingUtility::slug', |
10 | | - |
11 | | - // Display value of tags are passed through (for front end display) |
12 | | - 'displayer' => '\Illuminate\Support\Str::title', |
13 | | - |
14 | | - // Database connection for Conner\Taggable\Tag model to use |
| 4 | + // Datatype for primary keys of your models. |
| 5 | + // used in migrations only |
| 6 | + 'primary_keys_type' => 'integer', // 'string' or 'integer' |
| 7 | + |
| 8 | + // Value of are passed through this before save of tags |
| 9 | + 'normalizer' => '\Conner\Tagging\TaggingUtility::slug', |
| 10 | + |
| 11 | + // Display value of tags are passed through (for front end display) |
| 12 | + 'displayer' => '\Illuminate\Support\Str::title', |
| 13 | + |
| 14 | + // Database connection for Conner\Taggable\Tag model to use |
15 | 15 | // 'connection' => 'mysql', |
16 | | - |
17 | | - // When deleting a model, remove all the tags first |
18 | | - 'untag_on_delete' => true, |
19 | | - |
20 | | - // Auto-delete unused tags from the 'tags' database table (when they are used zero times) |
21 | | - 'delete_unused_tags' => false, |
22 | 16 |
|
23 | | - // Model to use to store the tags in the database |
24 | | - 'tag_model'=>'\Conner\Tagging\Model\Tag', |
| 17 | + // When deleting a model, remove all the tags first |
| 18 | + 'untag_on_delete' => true, |
| 19 | + |
| 20 | + // Auto-delete unused tags from the 'tags' database table (when they are used zero times) |
| 21 | + 'delete_unused_tags' => false, |
| 22 | + |
| 23 | + // Model to use to store the tags in the database |
| 24 | + 'tag_model' => '\Conner\Tagging\Model\Tag', |
25 | 25 |
|
26 | | - // Delimiter used within tags |
27 | | - 'delimiter' => '-', |
| 26 | + // Delimiter used within tags |
| 27 | + 'delimiter' => '-', |
28 | 28 |
|
29 | 29 | 'tag_model' => '\Conner\Tagging\Model\Tag', |
30 | 30 |
|
31 | | - 'tagged_model' => '\Conner\Tagging\Model\Tagged', |
| 31 | + 'tagged_model' => '\Conner\Tagging\Model\Tagged', |
32 | 32 |
|
33 | 33 | 'tag_group_model' => '\Conner\Tagging\Model\TagGroup', |
34 | 34 | ]; |
0 commit comments