I'm not quite sure what you are trying to get. The fragment you install without problems stores the storePid value in constants for your extension, the same as this code from setup.txt:
plugin.tx_yourext {
persistence {
storagePid = {$plugin.tx_yourext.persistence.storagePid}
}
}
If you have problems getting your storePid with the provided fragment, you can also change yours setup.txtand make sure that the value will also be distributed in the area settings:
plugin.tx_yourext {
persistence {
storagePid = {$plugin.tx_yourext.persistence.storagePid}
}
settings {
storagePid = {$plugin.tx_yourext.persistence.storagePid}
}
}
then in your controller you can catch it with a simpler code:
$myStoragePid = $this->settings['storagePid'];
, , Constants YourExt / BE.
: , , .