Guest User

Untitled

a guest
Dec 8th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. /**
  2. * Check if theme is deletable
  3. *
  4. * @return bool
  5. */
  6. public function isDeletable()
  7. {
  8. return $this->isEditable();
  9. }
  10.  
  11. /**
  12. * Check if theme is editable
  13. *
  14. * @return bool
  15. */
  16. public function isEditable()
  17. {
  18. return self::TYPE_PHYSICAL != $this->getType();
  19. }
Add Comment
Please, Sign In to add comment