You are here

protected function CpfElement::getMaskDefaults in Brazilian IDs 8

Returns mask settings for this element type.

Overrides CpfCnpjBase::getMaskDefaults

File

src/Element/CpfElement.php, line 22

Class

CpfElement
Plugin annotation @FormElement("brazilian_ids_cpf");

Namespace

Drupal\brazilian_ids\Element

Code

protected function getMaskDefaults() {
  return [
    'value' => '000.000.000-00',
  ];
}