You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1001 B

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