Dot All Lisbon – the official Craft CMS conference – is happening September 23 - 25.

Country Model

CountryModels objects have the following attributes and methods:

Attributes

id

The address record ID.

name

The countries name (required).

iso

The country’s ISO code (required).

stateRequired

A boolean, which determines if the state is required when this country is selected.

cpEditUrl

A URL to edit this country in the control panel.