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

peterlolty’s picture

I 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.

.bert’s picture

Great 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.

sclsweb’s picture

+1 for spaces (not that I have a vote either). Slots has bad connotations and is also confusing.

cboyden’s picture

Status: Needs work » Closed (duplicate)