src/Forms/GridField/GridField_FormAction.php
protected function getNameFromParent()
    {
        $base = $this->gridField;
        $name = array();

        do {
            array_unshift($name, $base->getName());
            $base = $base->getForm();
        } while ($base && !($base instanceof Form));

        return implode('.', $name);
    }
protected function getNameFromParent()
    {
        $base = $this->gridField;
        $name = array();

        do {
            array_unshift($name, $base->getName());
            $base = $base->getForm();
        } while ($base && !($base instanceof Form));

        return implode('.', $name);
    }
protected function getNameFromParent ( ) { $ base = $ this -> gridField ; $ name = array ( ) ; do { array_unshift ( $ name , $ base -> getName ( ) ) ; $ base = $ base -> getForm ( ) ; } while ( $ base && ! ( $ base instanceof Form ) ) ; return implode ( '.' , $ name ) ; }
Calculate the name of the gridfield relative to the form.

@return string
Calculate the name of the gridfield relative to the form .