Skip to the content
Documentation

The Rating FieldType

No ratings yet

This FieldType is used to provide rating functionality.

Rating FieldType does not provide the APIs for actual rating, this part is provided by Legacy Stack extension that can be found at https://github.com/ezsystems/ezstarrating.

Name Internal name Expected input
Rating ezsrrating boolean

Table of contents:

Input expectations

Type Description Example
boolean Denotes if the rating is enabled or disabled true

Value Object API

Properties

eZ\Publish\Core\FieldType\Rating\Value offers the following properties.

Property Type Description Example
isDisabled boolean Denotes if the rating is enabled or disabled true

Hash format

Hash matches the Value Object, having only one property:

  • isDisabled

Settings

The FieldType does not support settings.

Validation

The FieldType does not support validation.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.