Move uiLevel from a define to a property so it can be inherited.
This commit is contained in:
parent
029655d822
commit
a3614f5211
3 changed files with 7 additions and 13 deletions
|
|
@ -57,7 +57,7 @@ has 'property_metaroles' => (
|
|||
default => sub { [ 'WebGUI::Definition::Meta::Property', 'WebGUI::Definition::Meta::Property::Asset'] },
|
||||
);
|
||||
|
||||
has [ qw{tableName icon assetName uiLevel} ] => (
|
||||
has [ qw{tableName icon assetName} ] => (
|
||||
is => 'rw',
|
||||
);
|
||||
|
||||
|
|
@ -113,13 +113,4 @@ The second is the i18n namespace to find the asset's name.
|
|||
|
||||
=cut
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 uiLevel ( )
|
||||
|
||||
An integer, representing how difficult the Asset will be to use. The default uiLevel is
|
||||
1. uiLevels for an asset can be overridden in the config file for each site.
|
||||
|
||||
=cut
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue