You are here

private function ManagedFileBase::getFieldXpath in Managed File 7

Returns field XPath.

Parameters

string $name: Field name.

Return value

string Field XPath.

2 calls to ManagedFileBase::getFieldXpath()
ManagedFileBase::assertFieldValue in tests/managed_file_base.test
Check that field has a value.
ManagedFileBase::assertNoFieldValue in tests/managed_file_base.test
Check that field has not a value.

File

tests/managed_file_base.test, line 162
Managed File Base (Test).

Class

ManagedFileBase
Class ManagedFileBase.

Code

private function getFieldXpath($name) {
  return sprintf("//*[@name='%s']", $this
    ->elementName($name));
}