Skip to content

Instantly share code, notes, and snippets.

@gh640
Created August 18, 2016 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gh640/487dcfaca95b012f9d1b02ea79927487 to your computer and use it in GitHub Desktop.
Save gh640/487dcfaca95b012f9d1b02ea79927487 to your computer and use it in GitHub Desktop.
Drupal 7: Rules がデフォルトで提供するアクション一覧

Data

  • Add a variable 変数を追加する
  • Add an item to a list アイテムをリストに追加する
  • Calculate a value 値を計算する
  • Convert data type データタイプを変換する
  • Remove an item from a list リストからアイテムを削除する
  • Set a data value データの値をセットする

Entities

  • Create a new entity 新しいエンティティを作成する
  • Delete entity エンティティを削除する
  • Fetch entity by id ID でエンティティを取得する
  • Fetch entity by property プロパティでエンティティを取得する
  • Save entity エンティティを保存する

Node

  • Make content sticky コンテンツを上部に固定する
  • Make content unsticky コンテンツの上部固定を解除する
  • Promote content to front page コンテンツをトップページに掲載する
  • Publish content コンテンツを掲載する
  • Remove content from front page コンテンツをトップページから非掲載にする
  • Unpublish content コンテンツを非掲載にする

Path

  • Create or delete a content's URL alias コンテンツの URL エイリアスを作成/削除する
  • Create or delete a taxonomy term's URL alias タクソノミータームの URL エイリアスを作成/削除する
  • Create or delete any URL alias 任意の URL エイリアスを作成/削除する

Rules scheduler

  • Delete scheduled tasks スケジュールされたタスクを削除する
  • Schedule component evaluation コンポーネントの評価をスケジュールする

System

  • Block IP address IP アドレスをブロックする
  • Page redirect ページリダイレクトを行う
  • Send mail メールを送信する
  • Send mail to all users of a role 特定のロールのすべてのユーザにメールを送信する
  • Set breadcrumb パンくずをセットする
  • Show a message on the site サイトにメッセージを表示する

User

  • Add user role ユーザロールを追加する
  • Block a user ユーザをブロックする
  • Remove user role ユーザロールを削除する
  • Send account e-mail ユーザアカウントのメールアドレスにメールを送信する
  • Unblock a user ユーザのブロックを解除する
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment