You are here

protected function CnpjElement::getMaskDefaults in Brazilian IDs 8

Returns mask settings for this element type.

Overrides CpfCnpjBase::getMaskDefaults

File

src/Element/CnpjElement.php, line 22

Class

CnpjElement
Plugin annotation @FormElement("brazilian_ids_cnpj");

Namespace

Drupal\brazilian_ids\Element

Code

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