Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
search.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Nov 2014 at 14:46 UTC
Updated:
18 Dec 2014 at 12:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
daffie commentedI would like to get this fixed. So I will do a good review for posted patches.
Comment #2
daffie commentedThe class variables $id and $label need to become protected.
You can use the functions id() as a getter function for the $id variable and label() as a getter function for the variable $label.
Comment #3
areke commentedProtect variables for searchpage.
Comment #4
daffie commentedThese functions are inherited from the Entity class. So they can be removed.
These functions are not used. You can remove them and use set('id', $value) and set('label', $value).
Comment #5
rpayanmComment #6
jhodgdonWell, that apparently passed the tests. It seems simple enough, and since the core ConfigEntityBase class already has methods for these, it seems like that's all we need to do. I confirmed there are not other public class variables on the class.
Issue summary looks good and includes beta eval.
Do we need a change notice? The other issues for config entities on the parent Meta do not seem to have them, so I guess not.
Comment #7
alexpottCommitted a9a3b15 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation for to the issue summary.