Skip to content

Instantly share code, notes, and snippets.

@mattcdavis1
Created November 7, 2014 21:26
Show Gist options
  • Save mattcdavis1/bfb936098d72943aefd6 to your computer and use it in GitHub Desktop.
Save mattcdavis1/bfb936098d72943aefd6 to your computer and use it in GitHub Desktop.
tag installer
<?php namespace Anomaly\Streams\Addon\Module\Resources\Installer;
use Anomaly\Streams\Platform\Field\FieldInstaller;
/**
* Class UsersFieldInstaller
*/
class ResourceTagsFieldInstaller extends FieldInstaller
{
/**
* Fields to install.
*
* @var array
*/
protected $fields = [
'name' => [
'type' => 'text',
],
'slug' => [
'type' => 'slug',
],
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment