Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: .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 CreditAttribution: sclsweb commented+1 for spaces (not that I have a vote either). Slots has bad connotations and is also confusing.
Comment #4
cboyden CreditAttribution: cboyden commentedThis is a duplicate of #2098625: Display settings of "Spaces Used" has no effect in embedded Registration Form, which has a working patch.