You are here

public function ExtensionAdapter::setTransactionName in New Relic 8

Same name and namespace in other branches
  1. 2.x src/ExtensionAdapter/ExtensionAdapter.php \Drupal\new_relic_rpm\ExtensionAdapter\ExtensionAdapter::setTransactionName()
  2. 2.0.x src/ExtensionAdapter/ExtensionAdapter.php \Drupal\new_relic_rpm\ExtensionAdapter\ExtensionAdapter::setTransactionName()

Set the transaction name.

Parameters

string $name: Name for this transaction.

Overrides NewRelicAdapterInterface::setTransactionName

File

src/ExtensionAdapter/ExtensionAdapter.php, line 50

Class

ExtensionAdapter
Default new relic adapter.

Namespace

Drupal\new_relic_rpm\ExtensionAdapter

Code

public function setTransactionName($name) {
  newrelic_name_transaction($name);
}