public function getFieldDefinitionContainerLocator(string $containerName): string
    {
        $containerIndex = $this->context->getElementPositionByText($containerName, $this->fields['fieldDefinitionName']);

        return sprintf($this->fields['fieldDefinitionContainer'], $containerIndex);
    }
public function getFieldDefinitionContainerLocator(string $containerName): string
    {
        $containerIndex = $this->context->getElementPositionByText($containerName, $this->fields['fieldDefinitionName']);

        return sprintf($this->fields['fieldDefinitionContainer'], $containerIndex);
    }
public function getFieldDefinitionContainerLocator ( string $ containerName ) : string { $ containerIndex = $ this -> context -> getElementPositionByText ( $ containerName , $ this -> fields [ 'fieldDefinitionName' ] ) ; return sprintf ( $ this -> fields [ 'fieldDefinitionContainer' ] , $ containerIndex ) ; }
Returns NodeElement that contains all fields for specified content type field type.

@param string $containerName

@return NodeElement
Returns NodeElement that contains all fields for specified content type field type .