SubdivisionRepository

Type
Class
Namespace
craft\addresses
Inherits
craft\addresses\SubdivisionRepository » CommerceGuys\Addressing\Subdivision\SubdivisionRepository
Since
4.5.0

Craft's extension of the commerceguys/addressing SubdivisionRepository.

Its main purpose is to allow addition of data that's not returned by the commerceguys/addressing library, like the GB counties data. It also triggers an event which allows developers to modify the subdivisions further.

View source (opens new window)

# Public Methods

Method Description
getList()

# getList()

View source (opens new window)

Arguments

  • $parents
  • $locale