Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Apr 2, 2024
1 parent 8a961a0 commit 2a31e2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/models/CmsContentPropertyEnum.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,9 @@ public function getProperty()
{
return $this->hasOne(CmsContentProperty::className(), ['id' => 'property_id']);
}

public function asText()
{
return $this->value;
}
}

0 comments on commit 2a31e2a

Please sign in to comment.