You are here

public property WktGeneratorTest::$polygonRegex in Geofield 8

Generic WKT polygon regex.

Type: string

File

tests/src/Kernel/WktGeneratorTest.php, line 54

Class

WktGeneratorTest
Tests WktGenerator.

Namespace

Drupal\Tests\geofield\Kernel

Code

public $polygonRegex = '/^POLYGON \\(\\(([-]?[0-9]*\\.?[0-9]+ [-]?[0-9]*\\.?[0-9]+\\, )*[-]?[0-9]*\\.?[0-9]+ [-]?[0-9]*\\.?[0-9]+\\)\\)$/';