Changing Tags

This commit is contained in:
Ludovic CANDELLIER
2020-06-14 12:44:16 +02:00
parent 2eab3cd689
commit 927e68223b
6 changed files with 0 additions and 261 deletions

View File

@@ -1,31 +0,0 @@
<?php
return [
// Datatype for primary keys of your models.
// used in migrations only
'primary_keys_type' => 'integer', // 'string' or 'integer'
// Value of are passed through this before save of tags
'normalizer' => '\Conner\Tagging\TaggingUtility::slug',
// Display value of tags are passed through (for front end display)
'displayer' => '\Illuminate\Support\Str::title',
// Database connection for Conner\Taggable\Tag model to use
// 'connection' => 'mysql',
// When deleting a model, remove all the tags first
'untag_on_delete' => true,
// Auto-delete unused tags from the 'tags' database table (when they are used zero times)
'delete_unused_tags' => false,
// Model to use to store the tags in the database
'tag_model'=>'\Conner\Tagging\Model\Tag',
// Delimiter used within tags
'delimiter' => '-',
// Model to use for the relation between tags and tagged records
'tagged_model' => '\Conner\Tagging\Model\Tagged',
];