public function getPostSettings($parent = null) { return array_merge(parent::getPostSettings($parent), ['canLikePage' => $this->AllowPageLikes, 'canLikePost' => $this->AllowPostLikes]); }
public function getPostSettings($parent = null) { return array_merge(parent::getPostSettings($parent), ['canLikePage' => $this->AllowAuthorFollows, 'canLikePost' => $this->AllowFavourites]); }