Make RSS From Parent assets always hidden from navigation.
This commit is contained in:
parent
2e608a2a20
commit
f11b0b8b85
3 changed files with 22 additions and 0 deletions
|
|
@ -57,6 +57,13 @@ sub definition {
|
|||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub update {
|
||||
# Re-force isHidden to 1 on each update; these should always be hidden.
|
||||
my $self = shift;
|
||||
my $properties = shift;
|
||||
$self->SUPER::update(+{%$properties, isHidden => 1});
|
||||
}
|
||||
|
||||
sub _escapeXml {
|
||||
my $text = shift;
|
||||
my %entities = ('<' => '<', '>' => '>', '"' => '"', "'" => "'");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue