In registration.module, it is called 'spaces'
'spaces' => array(
'label' => t('Spaces Used'),
'description' => t('How many spaces were used in this registration.'),
'weight' => 0,
),
In lib/registration.entity.inc, it is called 'slots'
$build['slots'] = array(
'#theme' => 'registration_property_field',
'#label' => t('Slots Used'),
'#items' => array(
array(
'#markup' => $this->count,
),
),
'#classes' => 'field field-label-inline clearfix',
);
This lead the a problem, we cannot hide the 'Spaces' field in display while using Views rendering each registration result.
Comments
Comment #1
peterlolty commentedI tried to rename 'slots' to 'spaces', this solve the problem.
Thus, What the correct variable name you guys want?
So I can make a patch for you.
Comment #2
.bert commentedGreat pickup @peterlolty.
Not that I have a vote, but if I did, I would say "spaces". The feedback I've had from end users is that the words slots is confusing.
Comment #3
sclsweb commented+1 for spaces (not that I have a vote either). Slots has bad connotations and is also confusing.
Comment #4
cboyden commentedThis is a duplicate of #2098625: Display settings of "Spaces Used" has no effect in embedded Registration Form, which has a working patch.